2008-07-18 13:51:23 +00:00
|
|
|
--- a/ssl.c
|
|
|
|
+++ b/ssl.c
|
|
|
|
@@ -662,9 +662,11 @@
|
2006-12-18 17:07:01 +00:00
|
|
|
ssl->method = SSLv23_client_method();
|
|
|
|
break;
|
|
|
|
|
2007-03-04 02:27:48 +00:00
|
|
|
+#ifndef OPENSSL_NO_SSLV2
|
2006-12-18 17:07:01 +00:00
|
|
|
case SSL_VERSION_SSLV2:
|
|
|
|
ssl->method = SSLv2_client_method();
|
|
|
|
break;
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
case SSL_VERSION_SSLV3:
|
2007-03-04 02:27:48 +00:00
|
|
|
ssl->method = SSLv3_client_method();
|