Get rid of the OPENSSL_NO_SSL2 check, which is not a complete solution on all platforms; replace it with a check (which should always have been there) of the SSL_CTX_new return value.  If SSLv2 is unavailable, the context creation should fail and we will notice at that point.
1 file changed