[packages/exim] Even better version from exim bugzilla.
arekm
arekm at pld-linux.org
Wed Oct 6 08:37:17 CEST 2021
commit 38fc7108f283f2ea54472cccee6f12b5ebf701c1
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Oct 6 06:37:08 2021 +0000
Even better version from exim bugzilla.
ssl.patch | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/ssl.patch b/ssl.patch
index 5ffaf5d..5b736c1 100644
--- a/ssl.patch
+++ b/ssl.patch
@@ -1,15 +1,20 @@
---- exim-4.95.org/src/tls-openssl.c 2021-09-28 08:24:46.000000000 +0000
-+++ exim-4.95/src/tls-openssl.c 2021-10-06 06:27:39.949989669 +0000
-@@ -232,12 +232,7 @@
+--- a/src/tls-openssl.c
++++ a/src/tls-openssl.c
+@@ -232,10 +232,14 @@ static exim_openssl_option exim_openssl_options[] = {
{ US"no_tlsv1", SSL_OP_NO_TLSv1 },
#endif
#ifdef SSL_OP_NO_TLSv1_1
-# if SSL_OP_NO_TLSv1_1 == 0x00000400L
-- /* Error in chosen value in 1.0.1a; see first item in CHANGES for 1.0.1b */
++# if OPENSSL_VERSION_NUMBER < 0x30000000L
++# if 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
++# warning OpenSSL 1.0.1a uses a bad value for SSL_OP_NO_TLSv1_1, ignoring
++# define NO_SSL_OP_NO_TLSv1_1
++# endif
++# endif
++# ifndef NO_SSL_OP_NO_TLSv1_1
{ US"no_tlsv1_1", SSL_OP_NO_TLSv1_1 },
--# endif
+ # endif
#endif
- #ifdef SSL_OP_NO_TLSv1_2
- { US"no_tlsv1_2", SSL_OP_NO_TLSv1_2 },
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/exim.git/commitdiff/38fc7108f283f2ea54472cccee6f12b5ebf701c1
More information about the pld-cvs-commit
mailing list