Unverified Commit 418c2e79 authored by David CARLIER's avatar David CARLIER Committed by GitHub
Browse files

TLS build fix on OpenBSD when built with LibreSSL. (#9486)

parent d7fa44f4
......@@ -176,7 +176,8 @@ void tlsCleanup(void) {
redis_tls_client_ctx = NULL;
}
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
// unavailable on LibreSSL
OPENSSL_cleanup();
#endif
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment