mirror of
https://github.com/curl/curl.git
synced 2026-08-26 19:53:31 +03:00
parent
57fd720f9d
commit
a4402ae443
6 changed files with 10 additions and 10 deletions
|
|
@ -1896,7 +1896,7 @@ static CURLcode gtls_verifyserver(struct Curl_cfilter *cf,
|
|||
goto out;
|
||||
|
||||
#ifdef CURL_GNUTLS_EARLY_DATA
|
||||
/* Only on TLSv1.2 or less do we have the session id now. For
|
||||
/* Only on TLSv1.2 or lower do we have the session id now. For
|
||||
* TLSv1.3 we get it via a SESSION_TICKET message that arrives later. */
|
||||
if(gnutls_protocol_get_version(session) < GNUTLS_TLS1_3)
|
||||
result = cf_gtls_update_session_id(cf, data, session);
|
||||
|
|
|
|||
|
|
@ -4148,7 +4148,7 @@ static CURLcode ossl_connect_step2(struct Curl_cfilter *cf,
|
|||
|
||||
#if !defined(HAVE_KEYLOG_UPSTREAM) && !defined(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 less).
|
||||
* proceed with logging secrets (for TLS 1.2 or lower).
|
||||
*/
|
||||
if(Curl_tls_keylog_enabled() && !octx->keylog_done)
|
||||
ossl_log_tls12_secret(octx->ssl, &octx->keylog_done);
|
||||
|
|
|
|||
|
|
@ -1729,7 +1729,7 @@ static CURLcode wssl_handshake(struct Curl_cfilter *cf, struct Curl_easy *data)
|
|||
#ifdef OPENSSL_EXTRA
|
||||
if(Curl_tls_keylog_enabled()) {
|
||||
/* If key logging is enabled, wait for the handshake to complete and then
|
||||
* proceed with logging secrets (for TLS 1.2 or less).
|
||||
* proceed with logging secrets (for TLS 1.2 or lower).
|
||||
*
|
||||
* During the handshake (ret==-1), wolfSSL_want_read() is true as it waits
|
||||
* for the server response. At that point the master secret is not yet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue