summaryrefslogtreecommitdiffstats
path: root/package/curl/patches/510-no_sslv2.patch
diff options
context:
space:
mode:
authorthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-29 13:12:54 +0000
committerthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-29 13:12:54 +0000
commit29ef2d513dddddb41bf7ca89e003fce46b8c22a5 (patch)
tree2daeb2e28bbe9a7efa9a46a35b79a32875f75a22 /package/curl/patches/510-no_sslv2.patch
parent227367d3a32d0593c717a1cf00447df83752bbd7 (diff)
move curl back to packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11992 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/curl/patches/510-no_sslv2.patch')
-rw-r--r--package/curl/patches/510-no_sslv2.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/package/curl/patches/510-no_sslv2.patch b/package/curl/patches/510-no_sslv2.patch
deleted file mode 100644
index d6d4dbf67..000000000
--- a/package/curl/patches/510-no_sslv2.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-diff -ruN curl-7.14.0-old/lib/ssluse.c curl-7.14.0-new/lib/ssluse.c
---- curl-7.14.0-old/lib/ssluse.c 2005-04-15 00:52:57.000000000 +0200
-+++ curl-7.14.0-new/lib/ssluse.c 2006-12-18 10:48:20.000000000 +0100
-@@ -1144,9 +1144,11 @@
- case CURL_SSLVERSION_TLSv1:
- req_method = TLSv1_client_method();
- break;
-+#ifndef OPENSSL_NO_SSL2
- case CURL_SSLVERSION_SSLv2:
- req_method = SSLv2_client_method();
- break;
-+#endif
- case CURL_SSLVERSION_SSLv3:
- req_method = SSLv3_client_method();
- break;
-diff -ruN curl-7.14.0-old/src/main.c curl-7.14.0-new/src/main.c
---- curl-7.14.0-old/src/main.c 2005-05-12 09:28:03.000000000 +0200
-+++ curl-7.14.0-new/src/main.c 2006-12-18 10:47:48.000000000 +0100
-@@ -425,7 +425,9 @@
- " -z/--time-cond <time> Transfer based on a time condition",
- " -0/--http1.0 Use HTTP 1.0 (H)",
- " -1/--tlsv1 Use TLSv1 (SSL)",
-+#ifndef OPENSSL_NO_SSL2
- " -2/--sslv2 Use SSLv2 (SSL)",
-+#endif
- " -3/--sslv3 Use SSLv3 (SSL)",
- " --3p-quote like -Q for the source URL for 3rd party transfer (F)",
- " --3p-url source URL to activate 3rd party transfer (F)",
-@@ -1671,10 +1673,12 @@
- /* TLS version 1 */
- config->ssl_version = CURL_SSLVERSION_TLSv1;
- break;
-+#ifndef OPENSSL_NO_SSL2
- case '2':
- /* SSL version 2 */
- config->ssl_version = CURL_SSLVERSION_SSLv2;
- break;
-+#endif
- case '3':
- /* SSL version 3 */
- config->ssl_version = CURL_SSLVERSION_SSLv3;