SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,14 @@
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) */