mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 06:30:29 -04:00
- LibreSSL 2.7 implements OpenSSL 1.1 API PR: 227184 Approved by: Ralf van der Enden <tremere cainites net> (maintainer)
12 lines
494 B
C++
12 lines
494 B
C++
--- pdns/opensslsigners.cc.orig 2018-02-16 09:52:29 UTC
|
|
+++ pdns/opensslsigners.cc
|
|
@@ -33,7 +33,8 @@
|
|
#include "opensslsigners.hh"
|
|
#include "dnssecinfra.hh"
|
|
|
|
-#if (OPENSSL_VERSION_NUMBER < 0x1010000fL || defined LIBRESSL_VERSION_NUMBER)
|
|
+#if (OPENSSL_VERSION_NUMBER < 0x1010000fL || \
|
|
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL))
|
|
/* OpenSSL < 1.1.0 needs support for threading/locking in the calling application. */
|
|
static pthread_mutex_t *openssllocks;
|
|
|