diff options
Diffstat (limited to 'src/common/Cryptography/OpenSSLCrypto.cpp')
-rw-r--r-- | src/common/Cryptography/OpenSSLCrypto.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/Cryptography/OpenSSLCrypto.cpp b/src/common/Cryptography/OpenSSLCrypto.cpp index e6b1aaf0ecf..864e95530c2 100644 --- a/src/common/Cryptography/OpenSSLCrypto.cpp +++ b/src/common/Cryptography/OpenSSLCrypto.cpp @@ -17,6 +17,8 @@ #include <OpenSSLCrypto.h> #include <openssl/crypto.h> + +#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x1010000fL #include <vector> #include <thread> #include <mutex> @@ -62,3 +64,4 @@ void OpenSSLCrypto::threadsCleanup() } cryptoLocks.resize(0); } +#endif |