summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-12-15 11:12:01 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-12-15 11:12:01 +0000
commit0698cd390e7c6ac9d1f94bc86ed386a3884ceaed (patch)
tree4c356d02306ae65b3ed052d511bd01ed4ab0ac6e
parentRevert "Revert rewrite resolver" (diff)
downloadpatches-0698cd390e7c6ac9d1f94bc86ed386a3884ceaed.tar.bz2
patches-0698cd390e7c6ac9d1f94bc86ed386a3884ceaed.tar.xz
patches-0698cd390e7c6ac9d1f94bc86ed386a3884ceaed.zip
Temporary patch to fix Exim compile with openssl-3
-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