diff options
Diffstat (limited to 'src/common/Cryptography/OpenSSLCrypto.cpp')
-rw-r--r-- | src/common/Cryptography/OpenSSLCrypto.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/Cryptography/OpenSSLCrypto.cpp b/src/common/Cryptography/OpenSSLCrypto.cpp index ccb20431673..3346a1c2098 100644 --- a/src/common/Cryptography/OpenSSLCrypto.cpp +++ b/src/common/Cryptography/OpenSSLCrypto.cpp @@ -15,8 +15,10 @@ * with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <OpenSSLCrypto.h> +#include "OpenSSLCrypto.h" #include <openssl/crypto.h> + +#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x1010000fL #include <vector> #include <thread> #include <mutex> @@ -67,6 +69,7 @@ void OpenSSLCrypto::threadsCleanup() } cryptoLocks.resize(0); } +#endif #ifdef VALGRIND #include <openssl/rand.h> |