diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-12-20 09:04:54 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-12-20 09:04:54 +0100 |
commit | 01d72d81f7e86f9433a81792cd61038506fe0048 (patch) | |
tree | d02a2a1ba7ab3e5242d5fe85dc39204a67de1e19 /0201-curl-7.29.0-openssl.patch | |
parent | 758da2152b096a93ff7e8f80fe1b7d46dcf11159 (diff) |
Diffstat (limited to '0201-curl-7.29.0-openssl.patch')
-rw-r--r-- | 0201-curl-7.29.0-openssl.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/0201-curl-7.29.0-openssl.patch b/0201-curl-7.29.0-openssl.patch new file mode 100644 index 0000000..984d916 --- /dev/null +++ b/0201-curl-7.29.0-openssl.patch @@ -0,0 +1,31 @@ +--- ./lib/ssluse.c.old 2014-12-20 08:10:34.590020955 +0100 ++++ ./lib/ssluse.c 2014-12-20 08:12:24.143382067 +0100 +@@ -1524,20 +1524,28 @@ + case CURL_SSLVERSION_TLSv1_0: + ctx_options |= SSL_OP_NO_SSLv2; + ctx_options |= SSL_OP_NO_SSLv3; ++#ifdef SSL_OP_NO_TLSv1_1 + ctx_options |= SSL_OP_NO_TLSv1_1; ++#endif ++#ifdef SSL_OP_NO_TLSv1_2 + ctx_options |= SSL_OP_NO_TLSv1_2; ++#endif + break; + case CURL_SSLVERSION_TLSv1_1: + ctx_options |= SSL_OP_NO_SSLv2; + ctx_options |= SSL_OP_NO_SSLv3; + ctx_options |= SSL_OP_NO_TLSv1; ++#ifdef SSL_OP_NO_TLSv1_2 + ctx_options |= SSL_OP_NO_TLSv1_2; ++#endif + break; + case CURL_SSLVERSION_TLSv1_2: + ctx_options |= SSL_OP_NO_SSLv2; + ctx_options |= SSL_OP_NO_SSLv3; + ctx_options |= SSL_OP_NO_TLSv1; ++#ifdef SSL_OP_NO_TLSv1_1 + ctx_options |= SSL_OP_NO_TLSv1_1; ++#endif + break; + } + |