summaryrefslogtreecommitdiff
path: root/mail-mta/exim/openssl-3.patch
blob: abbffe710fd2eee2651f3f8d8cf4130c958519b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- exim-4.95/src/tls-openssl.c~	2021-09-28 08:24:46.000000000 +0000
+++ exim-4.95/src/tls-openssl.c	2021-10-06 06:17:24.439990018 +0000
@@ -232,7 +232,7 @@
   { US"no_tlsv1", SSL_OP_NO_TLSv1 },
 #endif
 #ifdef SSL_OP_NO_TLSv1_1
-#if SSL_OP_NO_TLSv1_1 == 0x00000400L
+#if (OPENSSL_VERSION_NUMBER < 0x30000000fL) && (SSL_OP_NO_TLSv1_1 == 0x00000400L)
   /* Error in chosen value in 1.0.1a; see first item in CHANGES for 1.0.1b */
 #warning OpenSSL 1.0.1a uses a bad value for SSL_OP_NO_TLSv1_1, ignoring
 #else