Skip to content

Commit

Permalink
Merge 799704c into 2c0c4df
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Jan 17, 2018
2 parents 2c0c4df + 799704c commit 58ae224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vtls/openssl.c
Expand Up @@ -259,7 +259,7 @@ static void tap_ssl_key(const SSL *ssl, ssl_tap_state_t *state)
if(!session || !keylog_file_fp)
return;

#if OPENSSL_VERSION_NUMBER >= 0x10100000L
#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
/* ssl->s3 is not checked in openssl 1.1.0-pre6, but let's assume that
* we have a valid SSL context if we have a non-NULL session. */
SSL_get_client_random(ssl, client_random, SSL3_RANDOM_SIZE);
Expand Down

0 comments on commit 58ae224

Please sign in to comment.