kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit ae28f51d56a8aff34dd212e6001309631b85da9d
parent cb13190e0d4ab93845807483665b5865e733242d
Author: Joris Vink <joris@coders.se>
Date:   Mon,  5 Dec 2016 14:44:58 +0100

ERR_clear_error() in front of SSL_accept as well.

Diffstat:
src/connection.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/connection.c b/src/connection.c @@ -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);