aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/cyrus-imapd25/files/patch-imap__tls.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/mail/cyrus-imapd25/files/patch-imap__tls.c b/mail/cyrus-imapd25/files/patch-imap__tls.c
index e23417eae130..393fbbff7eef 100644
--- a/mail/cyrus-imapd25/files/patch-imap__tls.c
+++ b/mail/cyrus-imapd25/files/patch-imap__tls.c
@@ -1,6 +1,15 @@
---- imap/tls.c.orig 2015-11-30 06:30:33 UTC
+--- imap/tls.c.orig 2016-07-22 01:55:57 UTC
+++ imap/tls.c
-@@ -683,7 +683,9 @@ EXPORTED int tls_init_serverengine(c
+@@ -222,7 +222,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)
+@@ -723,7 +723,9 @@ EXPORTED int tls_init_serverengine(c
off |= SSL_OP_ALL; /* Work around all known bugs */
off |= SSL_OP_NO_SSLv2; /* Disable insecure SSLv2 */
off |= SSL_OP_NO_SSLv3; /* Disable insecure SSLv3 */
@@ -10,7 +19,7 @@
const char *tls_versions = config_getstring(IMAPOPT_TLS_VERSIONS);
-@@ -1399,7 +1401,9 @@ HIDDEN int tls_init_clientengine(int ver
+@@ -1441,7 +1443,9 @@ HIDDEN int tls_init_clientengine(int ver
off |= SSL_OP_ALL; /* Work around all known bugs */
off |= SSL_OP_NO_SSLv2; /* Disable insecure SSLv2 */
off |= SSL_OP_NO_SSLv3; /* Disable insecure SSLv3 */
315a9efdf1090a7'>- Update to version 2.0Alexey Dokuchaev2014-12-111-9/+6 * - Reset maintainership of my portsPietro Cerutti2014-12-111-1/+1 * - Unbreak by not using libtoolPietro Cerutti2014-08-041-3/+2 * - Fix linking with readline from portsPietro Cerutti2014-07-241-2/+5 * Add USES=readline to fix build on -current.Adam Weinberger2014-07-231-1/+1 * Convert GMAKE to MAKE_CMDBaptiste Daroussin2014-06-251-1/+1 * - Fix BUILD_DEPENDSPietro Cerutti2013-12-051-1/+2 * - Update to 1.14Pietro Cerutti2013-10-141-5/+8 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...Baptiste Daroussin2013-09-211-0/+1 * Mark job unsafeBaptiste Daroussin2013-07-111-1/+2 * - Fix build on pointyhat by making the regression-test targetPietro Cerutti2013-04-031-1/+1 * - Update to 1.13Pietro Cerutti2012-12-141-6/+8