mirror of https://git.kore.io/kore.git
ERR_clear_error() in front of SSL_accept as well.
This commit is contained in:
parent
cb13190e0d
commit
ae28f51d56
|
@ -224,6 +224,7 @@ kore_connection_handle(struct connection *c)
|
||||||
SSL_set_app_data(c->ssl, c);
|
SSL_set_app_data(c->ssl, c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ERR_clear_error();
|
||||||
r = SSL_accept(c->ssl);
|
r = SSL_accept(c->ssl);
|
||||||
if (r <= 0) {
|
if (r <= 0) {
|
||||||
r = SSL_get_error(c->ssl, r);
|
r = SSL_get_error(c->ssl, r);
|
||||||
|
|
Loading…
Reference in New Issue