From a7d1535da44cdf9315644c01b9ae2d2b7e957363 Mon Sep 17 00:00:00 2001 From: Patrick van Kleef Date: Mon, 12 Nov 2018 20:56:26 +0100 Subject: [PATCH] Fixed use function to set SSL accept state --- libsrc/Wi/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/Wi/http.c b/libsrc/Wi/http.c index 8e00101a89..e55bf8a77f 100644 --- a/libsrc/Wi/http.c +++ b/libsrc/Wi/http.c @@ -9988,7 +9988,7 @@ bif_https_renegotiate (caddr_t *qst, caddr_t * err_ret, state_slot_t **args) cli_ssl_get_error_string (err_buf, sizeof (err_buf)); sqlr_new_error ("42000", "..002", "SSL_do_handshake failed %s", err_buf); } - ssl->state = SSL_ST_ACCEPT; + SSL_in_accept_init (ssl); while (SSL_renegotiate_pending (ssl) && ctr < 1000) { timeout_t to = { 0, 1000 };