0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

Revert "Default to TLSv1"

This reverts commit 97970b05fe.
This commit is contained in:
Ryan Dahl 2010-11-30 11:33:05 -08:00
parent 70188499b0
commit 486c74e72b

View File

@ -61,7 +61,7 @@ Handle<Value> SecureContext::Init(const Arguments& args) {
SecureContext *sc = ObjectWrap::Unwrap<SecureContext>(args.Holder());
OPENSSL_CONST SSL_METHOD *method = TLSv1_method();
OPENSSL_CONST SSL_METHOD *method = SSLv23_method();
if (args.Length() == 1 && args[0]->IsString()) {
String::Utf8Value sslmethod(args[0]->ToString());