diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 26c091fcba..e7ca25d572 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -67,7 +67,7 @@ Handle SecureContext::Init(const Arguments& args) { SecureContext *sc = ObjectWrap::Unwrap(args.Holder()); - OPENSSL_CONST SSL_METHOD *method = SSLv23_method(); + OPENSSL_CONST SSL_METHOD *method = TLSv1_method(); if (args.Length() == 1 && args[0]->IsString()) { String::Utf8Value sslmethod(args[0]->ToString());