mirror of
https://github.com/curl/curl.git
synced 2026-08-24 18:23:33 +03:00
Bradford Bruce reported that when setting CURLOPT_DEBUGFUNCTION without
CURLOPT_VERBOSE set to non-zero, you still got a few debug messages from the SSL handshake. This is now stopped.
This commit is contained in:
parent
a03c76b228
commit
f830d77307
3 changed files with 9 additions and 2 deletions
|
|
@ -1207,7 +1207,7 @@ Curl_ossl_connect_step1(struct connectdata *conn,
|
|||
}
|
||||
|
||||
#ifdef SSL_CTRL_SET_MSG_CALLBACK
|
||||
if (data->set.fdebug) {
|
||||
if (data->set.fdebug && data->set.verbose) {
|
||||
/* the SSL trace callback is only used for verbose logging so we only
|
||||
inform about failures of setting it */
|
||||
if (!SSL_CTX_callback_ctrl(connssl->ctx, SSL_CTRL_SET_MSG_CALLBACK,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue