]>
Commit | Line | Data |
---|---|---|
38fc7108 AM |
1 | --- a/src/tls-openssl.c |
2 | +++ a/src/tls-openssl.c | |
3 | @@ -232,10 +232,14 @@ static exim_openssl_option exim_openssl_options[] = { | |
fa4f0828 AM |
4 | { US"no_tlsv1", SSL_OP_NO_TLSv1 }, |
5 | #endif | |
6 | #ifdef SSL_OP_NO_TLSv1_1 | |
0d143580 | 7 | -# if SSL_OP_NO_TLSv1_1 == 0x00000400L |
38fc7108 AM |
8 | +# if OPENSSL_VERSION_NUMBER < 0x30000000L |
9 | +# if SSL_OP_NO_TLSv1_1 == 0x00000400L | |
10 | /* Error in chosen value in 1.0.1a; see first item in CHANGES for 1.0.1b */ | |
7998c38d AM |
11 | -# warning OpenSSL 1.0.1a uses a bad value for SSL_OP_NO_TLSv1_1, ignoring |
12 | -# else | |
38fc7108 AM |
13 | +# warning OpenSSL 1.0.1a uses a bad value for SSL_OP_NO_TLSv1_1, ignoring |
14 | +# define NO_SSL_OP_NO_TLSv1_1 | |
15 | +# endif | |
16 | +# endif | |
17 | +# ifndef NO_SSL_OP_NO_TLSv1_1 | |
7998c38d | 18 | { US"no_tlsv1_1", SSL_OP_NO_TLSv1_1 }, |
38fc7108 | 19 | # endif |
7998c38d | 20 | #endif |