646646
diff -up openssl-1.0.1h/ssl/ssl_lib.c.v2v3 openssl-1.0.1h/ssl/ssl_lib.c
646646
--- openssl-1.0.1h/ssl/ssl_lib.c.v2v3	2014-06-11 16:02:52.000000000 +0200
646646
+++ openssl-1.0.1h/ssl/ssl_lib.c	2014-06-30 14:18:04.290248080 +0200
646646
@@ -1875,6 +1875,9 @@ SSL_CTX *SSL_CTX_new(const SSL_METHOD *m
646646
 	 */
646646
 	ret->options |= SSL_OP_LEGACY_SERVER_CONNECT;
646646
 
4fcc43
+	/* Disable SSLv2 by default (affects the SSLv23_method() only) */
4fcc43
+	ret->options |= SSL_OP_NO_SSLv2;
646646
+
646646
 	return(ret);
646646
 err:
646646
 	SSLerr(SSL_F_SSL_CTX_NEW,ERR_R_MALLOC_FAILURE);