diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-01-14 11:36:29 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-01-14 11:36:29 +0100 |
commit | 5f250d0e7bdb49675a4e9f74efa0b0965ac2dc71 (patch) | |
tree | dbf1f3f0747c05d690465e3ae89ab4354b0f2516 /lib/vtls | |
parent | dc7108d446db04d937199a1628d1ce435985576f (diff) | |
download | curl-5f250d0e7bdb49675a4e9f74efa0b0965ac2dc71.tar.gz |
openssl: fix SSLKEYLOGFILE build error for BoringSSLbagder/openssl-sslkeylogfile
Diffstat (limited to 'lib/vtls')
-rw-r--r-- | lib/vtls/openssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 5250a3d5f..ca556810a 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -2410,8 +2410,8 @@ static CURLcode ossl_connect_step1(struct connectdata *conn, int sockindex) /* Enable logging of secrets to the file specified in env SSLKEYLOGFILE. */ #if defined(ENABLE_SSLKEYLOGFILE) && defined(HAVE_KEYLOG_CALLBACK) - if(keylog_file) { - SSL_CTX_set_keylog_callback(connssl->ctx, ossl_keylog_callback); + if(keylog_file_fp) { + SSL_CTX_set_keylog_callback(BACKEND->ctx, ossl_keylog_callback); } #endif |