Skip to content

Commit

Permalink
Fixed use function to set SSL accept state
Browse files Browse the repository at this point in the history
  • Loading branch information
pkleef committed Nov 12, 2018
1 parent 434ad1f commit a7d1535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsrc/Wi/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down

0 comments on commit a7d1535

Please sign in to comment.