From 6fa881e224db6cbbd51659c2939bdae8b7e30591 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Thu, 27 Jun 2013 12:37:42 +0200 Subject: [PATCH] SSL_set_accept_state() when a new SSL * is created --- src/connection.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/connection.c b/src/connection.c index ac535f3..4b4f366 100644 --- a/src/connection.c +++ b/src/connection.c @@ -115,6 +115,7 @@ kore_connection_handle(struct connection *c) } SSL_set_fd(c->ssl, c->fd); + SSL_set_accept_state(c->ssl); } r = SSL_accept(c->ssl);