summaryrefslogtreecommitdiff
path: root/net/netatalk3/files/patch-etc_uams_openssl__compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/netatalk3/files/patch-etc_uams_openssl__compat.h')
-rw-r--r--net/netatalk3/files/patch-etc_uams_openssl__compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netatalk3/files/patch-etc_uams_openssl__compat.h b/net/netatalk3/files/patch-etc_uams_openssl__compat.h
index 7aac8cc2c538..b5854e062abf 100644
--- a/net/netatalk3/files/patch-etc_uams_openssl__compat.h
+++ b/net/netatalk3/files/patch-etc_uams_openssl__compat.h
@@ -5,7 +5,7 @@
#define OPENSSL_COMPAT_H
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
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