summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_task.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/ssl_task.c')
-rw-r--r--ssl/ssl_task.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ssl/ssl_task.c b/ssl/ssl_task.c
index b5ce44b47c..9c4982cb86 100644
--- a/ssl/ssl_task.c
+++ b/ssl/ssl_task.c
@@ -228,10 +228,7 @@ int main ( int argc, char **argv )
SSL_load_error_strings();
OpenSSL_add_all_algorithms();
-/* DRM, this was the original, but there is no such thing as SSLv2()
- s_ctx=SSL_CTX_new(SSLv2());
-*/
- s_ctx=SSL_CTX_new(SSLv2_server_method());
+ s_ctx=SSL_CTX_new(SSLv23_server_method());
if (s_ctx == NULL) goto end;