From 97970b05fe37c0a0313c5e0cb2f13be9e15199a3 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sun, 28 Nov 2010 23:24:32 -0800 Subject: [PATCH] Default to TLSv1 --- src/node_crypto.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());