From f8cd7a568f9ca45d72b1607caa947499ef90ca1d Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Mon, 18 Dec 2006 10:16:35 +0000 Subject: [PATCH] fix build under WhiteRussian SDK SVN-Revision: 5833 --- libs/curl/patches/510-no_sslv2.patch | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 libs/curl/patches/510-no_sslv2.patch diff --git a/libs/curl/patches/510-no_sslv2.patch b/libs/curl/patches/510-no_sslv2.patch new file mode 100644 index 000000000..d6d4dbf67 --- /dev/null +++ b/libs/curl/patches/510-no_sslv2.patch @@ -0,0 +1,41 @@ +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