diff options
Diffstat (limited to 'src/common/Cryptography/OpenSSLCrypto.h')
-rw-r--r-- | src/common/Cryptography/OpenSSLCrypto.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/common/Cryptography/OpenSSLCrypto.h b/src/common/Cryptography/OpenSSLCrypto.h index 7b646659c05..1e6ca9562dd 100644 --- a/src/common/Cryptography/OpenSSLCrypto.h +++ b/src/common/Cryptography/OpenSSLCrypto.h @@ -19,7 +19,7 @@ #define TRINITY_OPENSSL_CRYPTO_H #include "Define.h" -#include <openssl/opensslv.h> +#include <boost/filesystem/path.hpp> /** * A group of functions which setup openssl crypto module to work properly in multithreaded enviroment @@ -27,17 +27,10 @@ */ namespace OpenSSLCrypto { - -#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x1010000fL /// Needs to be called before threads using openssl are spawned - TC_COMMON_API void threadsSetup(); + TC_COMMON_API void threadsSetup(boost::filesystem::path const& providerModulePath); /// Needs to be called after threads using openssl are despawned TC_COMMON_API void threadsCleanup(); -#else - void threadsSetup() { }; - void threadsCleanup() { }; -#endif - } #endif |