Skip to content

Commit

Permalink
Do not explicitly initialize openSSL in newer versions
Browse files Browse the repository at this point in the history
  • Loading branch information
crrodriguez authored and michael-grunder committed Feb 5, 2025
1 parent 8d8703e commit ab8c75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ static int initOpensslLocks(void) {

int redisInitOpenSSL(void)
{
SSL_library_init();
#ifdef HIREDIS_USE_CRYPTO_LOCKS
SSL_library_init();
initOpensslLocks();
#endif

Expand Down

0 comments on commit ab8c75e

Please sign in to comment.