summaryrefslogtreecommitdiff
path: root/net/netatalk3/files/patch-etc_uams_openssl__compat.h
blob: 0fa409015f328542a211e3241c28de7af152d5d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- etc/uams/openssl_compat.h.orig	2019-01-03 18:36:43.123024000 +0000
+++ etc/uams/openssl_compat.h	2019-01-03 18:37:02.918877000 +0000
@@ -11,7 +11,7 @@ http://www.gnu.org/licenses/old-licenses
 #ifndef OPENSSL_COMPAT_H
 #define OPENSSL_COMPAT_H
 
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
 inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
 {
    /* If the fields p and g in d are NULL, the corresponding input