diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2018-05-11 20:14:54 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2018-05-11 20:14:54 +0000 |
commit | 2405b1faa966909572786a1e421a1386c24bc14d (patch) | |
tree | ad9c2e584db32a3741c07663815a14350f57ca04 /net/netatalk3/files/patch-etc_uams_openssl__compat.h | |
parent | x11-toolkits/gtksourceview3: update 3.22.2 -> 3.24.7 (diff) |
Fix the build with libressl > 2.7.0.
PR: 227860
Submitted by: brnrd
Diffstat (limited to 'net/netatalk3/files/patch-etc_uams_openssl__compat.h')
-rw-r--r-- | net/netatalk3/files/patch-etc_uams_openssl__compat.h | 2 |
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 |