|
Lines 1-12
Link Here
|
| 1 |
--- pdns/opensslsigners.cc.orig 2018-02-16 09:52:29 UTC |
|
|
| 2 |
+++ pdns/opensslsigners.cc |
| 3 |
@@ -33,7 +33,8 @@ |
| 4 |
#include "opensslsigners.hh" |
| 5 |
#include "dnssecinfra.hh" |
| 6 |
|
| 7 |
-#if (OPENSSL_VERSION_NUMBER < 0x1010000fL || defined LIBRESSL_VERSION_NUMBER) |
| 8 |
+#if (OPENSSL_VERSION_NUMBER < 0x1010000fL || \ |
| 9 |
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)) |
| 10 |
/* OpenSSL < 1.1.0 needs support for threading/locking in the calling application. */ |
| 11 |
static pthread_mutex_t *openssllocks; |
| 12 |
|