ERR_clear_error() in front of SSL_accept as well.

This commit is contained in:
Joris Vink 2016-12-05 14:44:58 +01:00
parent cb13190e0d
commit ae28f51d56
1 changed files with 1 additions and 0 deletions

View File

@ -224,6 +224,7 @@ kore_connection_handle(struct connection *c)
SSL_set_app_data(c->ssl, c);
}
ERR_clear_error();
r = SSL_accept(c->ssl);
if (r <= 0) {
r = SSL_get_error(c->ssl, r);