2008-07-06 11:09:56 +00:00
|
|
|
--- a/src/options.c
|
|
|
|
+++ b/src/options.c
|
|
|
|
@@ -1127,8 +1127,10 @@
|
2006-11-21 00:33:42 +00:00
|
|
|
section->client_method=SSLv23_client_method;
|
|
|
|
section->server_method=SSLv23_server_method;
|
|
|
|
} else if(!strcasecmp(arg, "SSLv2")) {
|
|
|
|
+#ifndef OPENSSL_NO_SSL2
|
|
|
|
section->client_method=SSLv2_client_method;
|
|
|
|
section->server_method=SSLv2_server_method;
|
|
|
|
+#endif
|
|
|
|
} else if(!strcasecmp(arg, "SSLv3")) {
|
|
|
|
section->client_method=SSLv3_client_method;
|
|
|
|
section->server_method=SSLv3_server_method;
|