diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2017-06-11 16:26:49 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2017-06-11 16:26:49 +0000 |
commit | e152f28544748a07a60bb21e5675125ffa66b5ae (patch) | |
tree | 7c9c7de87a949da0b653ffa778e31cf91aca6e22 /mail/cyrus-imapd24 | |
parent | 28769d49c8433b7d6fe9a1450636fef82a3b1ca8 (diff) | |
download | ports-e152f28544748a07a60bb21e5675125ffa66b5ae.tar.gz ports-e152f28544748a07a60bb21e5675125ffa66b5ae.zip |
Fix build with LibreSSL.
PR: 219922
Notes
Notes:
svn path=/head/; revision=443396
Diffstat (limited to 'mail/cyrus-imapd24')
-rw-r--r-- | mail/cyrus-imapd24/files/patch-imap_tls.c | 11 |
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) |