]> git.pld-linux.org Git - packages/exim.git/commitdiff
Build fixes for openssl 3.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 6 Oct 2021 06:20:26 +0000 (06:20 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 6 Oct 2021 06:21:04 +0000 (06:21 +0000)
exim.spec
ssl.patch [new file with mode: 0644]

index 3265c5b7e972782f7f54798c4d4e723c1416127c..744737c167fd074681bbf0d79c577af388ff1cb7 100644 (file)
--- a/exim.spec
+++ b/exim.spec
@@ -58,6 +58,7 @@ Patch3:               exim-defs.patch
 Patch4:                %{name}4-Makefile-Default.patch
 # http://marc.merlins.org/linux/exim/files/sa-exim-cvs/localscan_dlopen_exim_4.20_or_better.patch
 Patch5:                localscan_dlopen_%{name}_4.20_or_better.patch
+Patch6:                ssl.patch
 
 Patch8:                %{name}-spam-timeout.patch
 
@@ -182,6 +183,7 @@ Pliki nagłówkowe dla Exima.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %patch8 -p1
 
diff --git a/ssl.patch b/ssl.patch
new file mode 100644 (file)
index 0000000..784e148
--- /dev/null
+++ b/ssl.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
This page took 0.080149 seconds and 4 git commands to generate.