From 961d2ddb4b48e0e857a704b0cc6b475d63372419 Mon Sep 17 00:00:00 2001 From: Kurt Roeckx Date: Sat, 29 Nov 2014 16:17:54 +0100 Subject: Use the SSLv23 method by default If SSLv2 and SSLv3 are both disabled we still support SSL/TLS. Reviewed-by: Richard Levitte --- apps/s_time.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'apps/s_time.c') diff --git a/apps/s_time.c b/apps/s_time.c index b823c33c58..81dad53243 100644 --- a/apps/s_time.c +++ b/apps/s_time.c @@ -349,13 +349,7 @@ int MAIN(int argc, char **argv) if (bio_err == NULL) bio_err=BIO_new_fp(stderr,BIO_NOCLOSE); -#if !defined(OPENSSL_NO_SSL2) && !defined(OPENSSL_NO_SSL3) s_time_meth=SSLv23_client_method(); -#elif !defined(OPENSSL_NO_SSL3) - s_time_meth=SSLv3_client_method(); -#elif !defined(OPENSSL_NO_SSL2) - s_time_meth=SSLv2_client_method(); -#endif /* parse the command line arguments */ if( parseArgs( argc, argv ) < 0 ) -- cgit v1.2.3