|
Line 0
Link Here
|
|
|
1 |
$OpenBSD: patch-imap_tls_c,v 1.2 2017/05/28 15:46:11 ajacoutot Exp $ |
| 2 |
Index: imap/tls.c |
| 3 |
--- imap/tls.c.orig 2017-05-15 05:43:30 UTC |
| 4 |
+++ imap/tls.c |
| 5 |
@@ -225,7 +225,7 @@ static RSA *tmp_rsa_cb(SSL * s __attribute__((unused)) |
| 6 |
} |
| 7 |
#endif |
| 8 |
|
| 9 |
-#if OPENSSL_VERSION_NUMBER < 0x10100000L |
| 10 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) |
| 11 |
/* replacements for new 1.1 API accessors */ |
| 12 |
/* XXX probably put these somewhere central */ |
| 13 |
static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) |