Remove SSLv2 support
The only support for SSLv2 left is receiving a SSLv2 compatible client hello. Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user