1 diff -ruN curl-7.14.0-old/lib/ssluse.c curl-7.14.0-new/lib/ssluse.c
2 --- curl-7.14.0-old/lib/ssluse.c 2005-04-15 00:52:57.000000000 +0200
3 +++ curl-7.14.0-new/lib/ssluse.c 2006-12-18 10:48:20.000000000 +0100
5 case CURL_SSLVERSION_TLSv1:
6 req_method = TLSv1_client_method();
8 +#ifndef OPENSSL_NO_SSL2
9 case CURL_SSLVERSION_SSLv2:
10 req_method = SSLv2_client_method();
13 case CURL_SSLVERSION_SSLv3:
14 req_method = SSLv3_client_method();
16 diff -ruN curl-7.14.0-old/src/main.c curl-7.14.0-new/src/main.c
17 --- curl-7.14.0-old/src/main.c 2005-05-12 09:28:03.000000000 +0200
18 +++ curl-7.14.0-new/src/main.c 2006-12-18 10:47:48.000000000 +0100
20 " -z/--time-cond <time> Transfer based on a time condition",
21 " -0/--http1.0 Use HTTP 1.0 (H)",
22 " -1/--tlsv1 Use TLSv1 (SSL)",
23 +#ifndef OPENSSL_NO_SSL2
24 " -2/--sslv2 Use SSLv2 (SSL)",
26 " -3/--sslv3 Use SSLv3 (SSL)",
27 " --3p-quote like -Q for the source URL for 3rd party transfer (F)",
28 " --3p-url source URL to activate 3rd party transfer (F)",
29 @@ -1671,10 +1673,12 @@
31 config->ssl_version = CURL_SSLVERSION_TLSv1;
33 +#ifndef OPENSSL_NO_SSL2
36 config->ssl_version = CURL_SSLVERSION_SSLv2;
41 config->ssl_version = CURL_SSLVERSION_SSLv3;