mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
TLS build fix on OpenBSD when built with LibreSSL. (#9486)
This commit is contained in:
parent
d7fa44f4da
commit
418c2e7931
@ -176,7 +176,8 @@ void tlsCleanup(void) {
|
|||||||
redis_tls_client_ctx = NULL;
|
redis_tls_client_ctx = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
|
||||||
|
// unavailable on LibreSSL
|
||||||
OPENSSL_cleanup();
|
OPENSSL_cleanup();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user