Common/Crypto: #ifdef out unnecessary locking code for OpenSSL 1.1+
This commit is contained in:
1 parent
7c43726ef3
commit
1ece540577
2 files changed
+12
-1
No files matched your search
@@ -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>
|
||||
@@ -62,3 +64,5 @@ void OpenSSLCrypto::threadsCleanup()
|
||||
}
|
||||
cryptoLocks.resize(0);
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user