Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2018 17:49:06 +0000 (UTC)
From:      Bernard Spil <brnrd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466240 - head/mail/sendmail/files
Message-ID:  <201804021749.w32Hn6ML094619@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804021749.w32Hn6ML094619>