Do not explicitly initialize openSSL in newer versions

This commit is contained in:
Cristian Rodríguez 2025-02-04 20:02:26 -03:00 committed by GitHub
parent 8d8703ee61
commit ed2c3f7a47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
ssl.c
View File

@ -167,8 +167,8 @@ static int initOpensslLocks(void) {
int redisInitOpenSSL(void)
{
SSL_library_init();
#ifdef HIREDIS_USE_CRYPTO_LOCKS
SSL_library_init();
initOpensslLocks();
#endif