aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-11-08 21:49:14 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-11-08 21:49:14 +0000
commitf830d7730702b7ff923e9248f98b1904d2b5ade3 (patch)
tree2d3de3dc5e7c7ebcc22ad9db0ffb722d3cda068e /lib
parenta03c76b228fc85e457934335d46173b967721644 (diff)
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/ssluse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index 28c2ef62b..7e9375d51 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -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,