mirror of
https://github.com/curl/curl.git
synced 2026-06-09 04:44:16 +03:00
undo move
This commit is contained in:
parent
cf18a0b54f
commit
91bc6d60e9
1 changed files with 4 additions and 4 deletions
|
|
@ -4535,6 +4535,10 @@ static CURLcode ossl_connect_step2(struct Curl_cfilter *cf,
|
|||
|
||||
connssl->io_need = CURL_SSL_IO_NEED_NONE;
|
||||
|
||||
ERR_clear_error();
|
||||
|
||||
err = SSL_connect(octx->ssl);
|
||||
|
||||
if(!octx->x509_store_setup) {
|
||||
/* After having send off the ClientHello, we prepare the x509
|
||||
* store to verify the coming certificate from the server */
|
||||
|
|
@ -4544,10 +4548,6 @@ static CURLcode ossl_connect_step2(struct Curl_cfilter *cf,
|
|||
octx->x509_store_setup = TRUE;
|
||||
}
|
||||
|
||||
ERR_clear_error();
|
||||
|
||||
err = SSL_connect(octx->ssl);
|
||||
|
||||
#ifndef HAVE_KEYLOG_CALLBACK
|
||||
/* If key logging is enabled, wait for the handshake to complete and then
|
||||
* proceed with logging secrets (for TLS 1.2 or older).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue