Merge pull request #233 from RichardSteele/fix-openssl-223

Fix #223
This commit is contained in:
Vincent Richard 2020-07-31 18:02:46 +02:00 committed by GitHub
commit e02ea9d178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,8 +127,8 @@ void OpenSSLInitializer::initialize() {
g_openSSLMutexes[i] = vmime::platform::getHandler()->createCriticalSection();
}
CRYPTO_set_locking_callback(OpenSSLCallback_lock);
CRYPTO_set_id_callback(OpenSSLCallback_id);
CRYPTO_set_locking_callback(VMime_OpenSSLCallback_lock);
CRYPTO_set_id_callback(VMime_OpenSSLCallback_id);
#endif
// Seed the RNG, in case /dev/urandom is not available. Explicitely calling