Changeset View
Changeset View
Standalone View
Standalone View
databases/mongodb34/files/patch-src_mongo_crypto_crypto__openssl.cpp
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- src/mongo/crypto/crypto_openssl.cpp.orig 2017-06-08 16:11:03 UTC | |||||
+++ src/mongo/crypto/crypto_openssl.cpp | |||||
@@ -41,7 +41,7 @@ | |||||
#include <openssl/evp.h> | |||||
#include <openssl/hmac.h> | |||||
#include <openssl/sha.h> | |||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L | |||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined (LIBRESSL_VERSION_NUMBER) | |||||
namespace { | |||||
// Copies of OpenSSL after 1.1.0 define new EVP digest routines. We must | |||||
// polyfill used definitions to interact with older OpenSSL versions. |