svn commit: r466240 - head/mail/sendmail/files

Bernard Spil brnrd at FreeBSD.org
Mon Apr 2 17:49:06 UTC 2018


Author: brnrd
Date: Mon Apr  2 17:49:05 2018
New Revision: 466240
URL: https://svnweb.freebsd.org/changeset/ports/466240

Log:
  mail/sendmail: Fix build with LibreSSL 2.7
  
   - LibreSSL 2.7 implements OpenSSL 1.1 API
  
  PR:		227171
  Approved by:	dinoex (maintainer)

Modified:
  head/mail/sendmail/files/patch-tls.c

Modified: head/mail/sendmail/files/patch-tls.c
==============================================================================
--- head/mail/sendmail/files/patch-tls.c	Mon Apr  2 17:48:48 2018	(r466239)
+++ head/mail/sendmail/files/patch-tls.c	Mon Apr  2 17:49:05 2018	(r466240)
@@ -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;


More information about the svn-ports-head mailing list