Browse Source

Revert "Default to TLSv1"

This reverts commit 97970b05fe.
v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
486c74e72b
  1. 2
      src/node_crypto.cc

2
src/node_crypto.cc

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

Loading…
Cancel
Save