summaryrefslogtreecommitdiff
path: root/mail-mta/exim/openssl-3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'mail-mta/exim/openssl-3.patch')
-rw-r--r--mail-mta/exim/openssl-3.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail-mta/exim/openssl-3.patch b/mail-mta/exim/openssl-3.patch
new file mode 100644
index 0000000..abbffe7
--- /dev/null
+++ b/mail-mta/exim/openssl-3.patch
@@ -0,0 +1,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