View | Details | Raw Unified | Return to bug 229606
Collapse All | Expand All

(-)databases/mongodb34/files/patch-src_mongo_crypto_sha1__block__openssl.cpp (-1 / +1 lines)
Lines 5-11 Link Here
5
 #include <openssl/hmac.h>
5
 #include <openssl/hmac.h>
6
 #include <openssl/sha.h>
6
 #include <openssl/sha.h>
7
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
7
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
8
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined (LIBRESSL_VERSION_NUMBER)
8
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined (LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
9
 namespace {
9
 namespace {
10
 // Copies of OpenSSL after 1.1.0 define new EVP digest routines. We must
10
 // Copies of OpenSSL after 1.1.0 define new EVP digest routines. We must
11
 // polyfill used definitions to interact with older OpenSSL versions.
11
 // polyfill used definitions to interact with older OpenSSL versions.
(-)databases/mongodb34/files/patch-src_mongo_util_net_ssl__manager.cpp (-1 / +1 lines)
Lines 5-11 Link Here
5
 // clang-format on
5
 // clang-format on
6
 
6
 
7
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
7
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
8
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
8
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined (LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
9
 // Copies of OpenSSL after 1.1.0 define new functions for interaction with
9
 // Copies of OpenSSL after 1.1.0 define new functions for interaction with
10
 // X509 structure. We must polyfill used definitions to interact with older
10
 // X509 structure. We must polyfill used definitions to interact with older
11
 // OpenSSL versions.
11
 // OpenSSL versions.

Return to bug 229606