1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

mail/sendmail: Fix build with LibreSSL 2.7

- LibreSSL 2.7 implements OpenSSL 1.1 API

PR:		227171
Approved by:	dinoex (maintainer)
This commit is contained in:
Bernard Spil 2018-04-02 17:49:05 +00:00
parent da5f205be4
commit 60d394744a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=466240

View File

@ -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;