svn commit: r466768 - head/mail/cyrus-imapd24/files

Hajimu UMEMOTO ume at FreeBSD.org
Sun Apr 8 02:13:56 UTC 2018


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)


More information about the svn-ports-head mailing list