aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrnrd <brnrd@FreeBSD.org>2018-04-03 01:49:05 +0800
committerbrnrd <brnrd@FreeBSD.org>2018-04-03 01:49:05 +0800
commitf17944f84618f4f1446aebb98d83fdc61ba266c6 (patch)
treebad86e3f1676c87ead51f2eef9ab9f7dd654b1fe
parent7c3f29512a83d21c1f14421ad1f0780544a32486 (diff)
downloadfreebsd-ports-gnome-f17944f84618f4f1446aebb98d83fdc61ba266c6.tar.gz
freebsd-ports-gnome-f17944f84618f4f1446aebb98d83fdc61ba266c6.tar.zst
freebsd-ports-gnome-f17944f84618f4f1446aebb98d83fdc61ba266c6.zip
mail/sendmail: Fix build with LibreSSL 2.7
- LibreSSL 2.7 implements OpenSSL 1.1 API PR: 227171 Approved by: dinoex (maintainer)
-rw-r--r--mail/sendmail/files/patch-tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/sendmail/files/patch-tls.c b/mail/sendmail/files/patch-tls.c
index ea194fd56d5a..37275cb07bf5 100644
--- a/mail/sendmail/files/patch-tls.c
+++ b/mail/sendmail/files/patch-tls.c
@@ -15,7 +15,7 @@
# if !NO_DH
+# if !defined(OPENSSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER < 0x10100001L || \
-+ defined(LIBRESSL_VERSION_NUMBER)
++ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
+static int
+DH_set0_pqg(dh, p, q, g)
+ DH *dh;