You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/09/21 18:44:47 UTC

[GitHub] [trafficserver] bneradt commented on a change in pull request #8337: Adding TLS session key logging capability

bneradt commented on a change in pull request #8337:
URL: https://github.com/apache/trafficserver/pull/8337#discussion_r713325295



##########
File path: iocore/net/SSLClientUtils.cc
##########
@@ -234,6 +235,12 @@ SSLInitClientContext(const SSLConfigParams *params)
     SSL_CTX_sess_set_new_cb(client_ctx, ssl_new_session_callback);
   }
 
+  if (TLSKeyLogger::is_enabled()) {
+#if OPENSSL_VERSION_NUMBER >= 0x010100000
+    SSL_CTX_set_keylog_callback(client_ctx, TLSKeyLogger::ssl_keylog_cb);

Review comment:
       Both good suggestions.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org