Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Apr 2018 02:13:55 +0000 (UTC)
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466768 - head/mail/cyrus-imapd24/files
Message-ID:  <201804080213.w382DtX5063768@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ume
Date: Sun Apr  8 02:13:55 2018
New Revision: 466768
URL: https://svnweb.freebsd.org/changeset/ports/466768

Log:
  Fix build with LibreSSL 2.7
  
  PR:		227167
  Submitted by:	brnrd

Modified:
  head/mail/cyrus-imapd24/files/patch-imap_tls.c

Modified: head/mail/cyrus-imapd24/files/patch-imap_tls.c
==============================================================================
--- head/mail/cyrus-imapd24/files/patch-imap_tls.c	Sun Apr  8 02:13:01 2018	(r466767)
+++ head/mail/cyrus-imapd24/files/patch-imap_tls.c	Sun Apr  8 02:13:55 2018	(r466768)
@@ -1,11 +1,11 @@
---- imap/tls.c.orig	2017-05-15 05:43:30 UTC
+--- imap/tls.c.orig	2017-08-18 00:29:14 UTC
 +++ imap/tls.c
 @@ -225,7 +225,7 @@ static RSA *tmp_rsa_cb(SSL * s __attribu
  }
  #endif
  
 -#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)
  /* replacements for new 1.1 API accessors */
  /* XXX probably put these somewhere central */
  static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)



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