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

(-)databases/mongodb36/files/patch-src-mongo-crypto-sha_block_openssl.cpp (+11 lines)
Line 0 Link Here
1
--- src/mongo/crypto/sha_block_openssl.cpp.orig	2018-07-08 16:42:41.034894000 +0000
2
+++ src/mongo/crypto/sha_block_openssl.cpp	2018-07-08 16:42:58.121846000 +0000
3
@@ -44,7 +44,7 @@
4
 #include <openssl/hmac.h>
5
 #include <openssl/sha.h>
6
 
7
-#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 {
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.
(-)databases/mongodb36/files/patch-src-mongo-util-net-ssl_manager.cpp (+11 lines)
Line 0 Link Here
1
--- src/mongo/util/net/ssl_manager.cpp.orig	2018-07-08 16:33:48.347433000 +0000
2
+++ src/mongo/util/net/ssl_manager.cpp	2018-07-08 16:34:49.098494000 +0000
3
@@ -237,7 +237,7 @@
4
 #endif // MONGO_CONFIG_NEEDS_ASN1_ANY_DEFINITIONS
5
 // clang-format on
6
 
7
-#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
10
 // X509 structure. We must polyfill used definitions to interact with older
11
 // OpenSSL versions.

Return to bug 229608