Remove SSLv2 support
[openssl.git] / ssl / ssl_task.c
index b5ce44b47c56e44fcd245089742002a2fbb0fed0..9c4982cb864ca1f3d685dd3d46886528558444cd 100644 (file)
@@ -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;