aboutsummaryrefslogtreecommitdiff
path: root/dns/powerdns-recursor
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2018-04-03 12:50:30 +0000
committerBernard Spil <brnrd@FreeBSD.org>2018-04-03 12:50:30 +0000
commit36ef9ab669049f8e181762430099a7ed8c2661db (patch)
tree570a069241a2766b27196668bbaff61b6fef0b99 /dns/powerdns-recursor
parent8d2dfbfbdbf0f3559a7866370c0aab227787e137 (diff)
Notes
Diffstat (limited to 'dns/powerdns-recursor')
-rw-r--r--dns/powerdns-recursor/files/patch-opensslsigners.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/dns/powerdns-recursor/files/patch-opensslsigners.cc b/dns/powerdns-recursor/files/patch-opensslsigners.cc
new file mode 100644
index 000000000000..be96d5f57172
--- /dev/null
+++ b/dns/powerdns-recursor/files/patch-opensslsigners.cc
@@ -0,0 +1,12 @@
+--- opensslsigners.cc.orig 2018-01-22 13:39:07 UTC
++++ 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;
+