diff options
Diffstat (limited to 'src/test/test_tortls.c')
-rw-r--r-- | src/test/test_tortls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_tortls.c b/src/test/test_tortls.c index 280e7fa3b0..fd3d50cf7e 100644 --- a/src/test/test_tortls.c +++ b/src/test/test_tortls.c @@ -53,7 +53,8 @@ extern tor_tls_context_t *server_tls_context; extern tor_tls_context_t *client_tls_context; -#if OPENSSL_VERSION_NUMBER >= OPENSSL_V_SERIES(1,1,0) +#if OPENSSL_VERSION_NUMBER >= OPENSSL_V_SERIES(1,1,0) \ + && !defined(LIBRESSL_VERSION_NUMBER) #define OPENSSL_OPAQUE #endif |