diff options
-rw-r--r-- | src/common/compat_openssl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/compat_openssl.h b/src/common/compat_openssl.h index 3fcd684c0c..5825ff7a4d 100644 --- a/src/common/compat_openssl.h +++ b/src/common/compat_openssl.h @@ -19,7 +19,8 @@ #error "We require OpenSSL >= 1.0.0" #endif -#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_VERSION SSLEAY_VERSION #define OpenSSL_version(v) SSLeay_version(v) #define OpenSSL_version_num() SSLeay() |