2010-07-30 22:56:47 +00:00
|
|
|
--- a/src/ssl_support.c
|
|
|
|
+++ b/src/ssl_support.c
|
|
|
|
@@ -446,10 +446,12 @@ sslCreateServerContext(const char *certf
|
2007-07-25 21:06:20 +00:00
|
|
|
ERR_clear_error();
|
2006-12-18 10:10:11 +00:00
|
|
|
debug(83, 1) ("Initialising SSL.\n");
|
|
|
|
switch (version) {
|
|
|
|
+#ifndef OPENSSL_NO_SSL2
|
|
|
|
case 2:
|
|
|
|
debug(83, 5) ("Using SSLv2.\n");
|
|
|
|
method = SSLv2_server_method();
|
|
|
|
break;
|
|
|
|
+#endif
|
|
|
|
case 3:
|
|
|
|
debug(83, 5) ("Using SSLv3.\n");
|
|
|
|
method = SSLv3_server_method();
|