14 lines
531 B
Text
14 lines
531 B
Text
Neuter OPENSSL_cleanup() redefinition.
|
|
|
|
Index: src/libs/zbxcomms/tls.c
|
|
--- src/libs/zbxcomms/tls.c.orig
|
|
+++ src/libs/zbxcomms/tls.c
|
|
@@ -30,7 +30,7 @@
|
|
#include "zbxstr.h"
|
|
#include "zbxtime.h"
|
|
|
|
-#if defined(HAVE_OPENSSL) && OPENSSL_VERSION_NUMBER < 0x1010000fL || defined(LIBRESSL_VERSION_NUMBER)
|
|
+#if defined(HAVE_OPENSSL) && OPENSSL_VERSION_NUMBER < 0x1010000fL
|
|
/* for OpenSSL 1.0.1/1.0.2 (before 1.1.0) or LibreSSL */
|
|
|
|
/* mutexes for multi-threaded OpenSSL (see "man 3ssl threads" and example in crypto/threads/mttest.c) */
|