diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-03-25 11:06:01 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-03-25 11:06:01 +0100 |
commit | 201510c6bbeef05e2b81bdc7bbec240feaf27c46 (patch) | |
tree | 758b1738793ceb014a1ebd8052d3dea71475d676 | |
parent | cd7aec95d624259db497ac99e0bcb25172270ad0 (diff) | |
download | curl-bagder/openssl-trace-handshake.tar.gz |
openssl: set the transfer pointer for logging earlybagder/openssl-trace-handshake
Otherwise, the transfer will be NULL in the trace function when the
early handshake details arrive and then curl won't show them.
Reported-by: David Hu
Fixes #6783
-rw-r--r-- | lib/vtls/openssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 9989ca460..a9690383d 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -2588,6 +2588,7 @@ static CURLcode ossl_connect_step1(struct Curl_easy *data, /* the SSL trace callback is only used for verbose logging */ SSL_CTX_set_msg_callback(backend->ctx, ossl_trace); SSL_CTX_set_msg_callback_arg(backend->ctx, conn); + set_logger(conn, data); } #endif |