diff --git a/src/node_crypto.cc b/src/node_crypto.cc index e56544d1ca8..fbcdf865129 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -337,15 +337,11 @@ Handle SecureContext::Init(const Arguments& args) { int options = 0; -#ifndef OPENSSL_NO_SSL2 if (!SSL2_ENABLE) options |= SSL_OP_NO_SSLv2; -#endif -#ifndef OPENSSL_NO_SSL3 if (!SSL3_ENABLE) options |= SSL_OP_NO_SSLv3; -#endif SSL_CTX_set_options(sc->ctx_, options);