summaryrefslogtreecommitdiff
path: root/dns/powerdns-recursor/files/patch-opensslsigners.cc
blob: be96d5f57172eb0bf7c92da882f792f4870f046b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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;