Fix build with LibreSSL.
PR: 219922
This commit is contained in:
parent
28769d49c8
commit
e152f28544
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=443396
1 changed files with 11 additions and 0 deletions
11
mail/cyrus-imapd24/files/patch-imap_tls.c
Normal file
11
mail/cyrus-imapd24/files/patch-imap_tls.c
Normal file
|
@ -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)
|
Loading…
Reference in a new issue