Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShigeki Ohtsu <ohtsu@iij.ad.jp>2014-08-28 11:51:42 +0400
committerFedor Indutny <fedor@indutny.com>2014-08-29 00:36:51 +0400
commitf6877f37b216a955b41eb2b6ec10bf0d8510a024 (patch)
treeea8bed0f065733dd51ad2e4399e61321dab3f19a /lib/tls.js
parent0dfedb7127ac388f66f5ea5d38330c86af6539b5 (diff)
tls: add DHE-RSA-AES128-SHA256 to the def ciphers
`!EDH` is also removed from the list in the discussion of #8272 Reviewed-By: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'lib/tls.js')
-rw-r--r--lib/tls.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/tls.js b/lib/tls.js
index c47d17f42e2..eff5d313e9f 100644
--- a/lib/tls.js
+++ b/lib/tls.js
@@ -33,8 +33,10 @@ exports.CLIENT_RENEG_WINDOW = 600;
exports.SLAB_BUFFER_SIZE = 10 * 1024 * 1024;
exports.DEFAULT_CIPHERS =
- 'ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:' + // TLS 1.2
- 'RC4:HIGH:!MD5:!aNULL:!EDH'; // TLS 1.0
+ // TLS 1.2
+ 'ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:AES128-GCM-SHA256:' +
+ // TLS 1.0
+ 'RC4:HIGH:!MD5:!aNULL';
exports.DEFAULT_ECDH_CURVE = 'prime256v1';