aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2017-06-12 00:26:49 +0800
committerume <ume@FreeBSD.org>2017-06-12 00:26:49 +0800
commitb37fe7fe49d503b568848c28e961ba725072df95 (patch)
tree7c9c7de87a949da0b653ffa778e31cf91aca6e22 /mail
parentaf85a735eeb093a53ee1207a2da181cbc3d13af6 (diff)
downloadfreebsd-ports-gnome-b37fe7fe49d503b568848c28e961ba725072df95.tar.gz
freebsd-ports-gnome-b37fe7fe49d503b568848c28e961ba725072df95.tar.zst
freebsd-ports-gnome-b37fe7fe49d503b568848c28e961ba725072df95.zip
Fix build with LibreSSL.
PR: 219922
Diffstat (limited to 'mail')
-rw-r--r--mail/cyrus-imapd24/files/patch-imap_tls.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/cyrus-imapd24/files/patch-imap_tls.c b/mail/cyrus-imapd24/files/patch-imap_tls.c
new file mode 100644
index 000000000000..41004c7f07dd
--- /dev/null
+++ b/mail/cyrus-imapd24/files/patch-imap_tls.c
@@ -0,0 +1,11 @@
+--- imap/tls.c.orig 2017-05-15 05:43:30 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)
+ /* 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)