2 ===================================================================
3 --- rrs-1.70.orig/rrs.c 2007-07-30 14:30:24.000000000 +0200
4 +++ rrs-1.70/rrs.c 2007-07-30 14:30:25.000000000 +0200
9 +#ifndef OPENSSL_NO_SSL2
10 if (!strcasecmp(optarg, "SSLv2")) {
12 - } else if (!strcasecmp(optarg, "SSLv3")) {
15 + if (!strcasecmp(optarg, "SSLv3")) {
17 } else if (!strcasecmp(optarg, "TLSv1")) {
19 @@ -1981,9 +1984,12 @@
20 SSL_load_error_strings();
23 +#ifndef OPENSSL_NO_SSL2
24 if (rrs_ssl == SSLv2) {
25 sslmethod = SSLv2_server_method();
26 - } else if (rrs_ssl == SSLv3) {
29 + if (rrs_ssl == SSLv3) {
30 sslmethod = SSLv3_server_method();
31 } else if (rrs_ssl == TLSv1) {
32 sslmethod = TLSv1_server_method();
33 @@ -1992,9 +1998,12 @@
37 +#ifndef OPENSSL_NO_SSL2
38 if (rrs_ssl == SSLv2) {
39 sslmethod = SSLv2_client_method();
40 - } else if (rrs_ssl == SSLv3) {
43 + if (rrs_ssl == SSLv3) {
44 sslmethod = SSLv3_client_method();
45 } else if (rrs_ssl == TLSv1) {
46 sslmethod = TLSv1_client_method();