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
21 " -Y/--speed-limit Stop transfer if below speed-limit for 'speed-time' secs",
22 " -y/--speed-time Time needed to trig speed-limit abort. Defaults to 30",
23 +#ifndef OPENSSL_NO_SSL2
24 " -2/--sslv2 Use SSLv2 (SSL)",
26 " -3/--sslv3 Use SSLv3 (SSL)",
27 " --stderr <file> Where to redirect stderr. - means stdout",
28 " --tcp-nodelay Use the TCP_NODELAY option",
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;