mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
Fix build with LibreSSL 2.7
PR: 227167 Submitted by: brnrd
This commit is contained in:
parent
7e81200a85
commit
2033d06222
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=466768
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user