mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
Fix compilation without deprecated OpenSSL APIs
This commit is contained in:
parent
d84c9ad611
commit
e8db36558c
4 changed files with 7 additions and 2 deletions
|
@ -1247,7 +1247,9 @@ namespace crypto
|
|||
void InitCrypto (bool precomputation)
|
||||
{
|
||||
i2p::cpu::Detect ();
|
||||
#if LEGACY_OPENSSL
|
||||
SSL_library_init ();
|
||||
#endif
|
||||
/* auto numLocks = CRYPTO_num_locks();
|
||||
for (int i = 0; i < numLocks; i++)
|
||||
m_OpenSSLMutexes.emplace_back (new std::mutex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue