diff options
author | Hativ <Hativ@users.noreply.github.com> | 2017-11-07 00:08:22 +0100 |
---|---|---|
committer | Tobias Nießen <tniessen@tnie.de> | 2017-11-29 00:43:05 +0100 |
commit | af78840b194528a147e4683aed27a320f9764ea5 (patch) | |
tree | 5e5095d1fb885581f9681312c3f3d83bb1561171 /test | |
parent | 04566d3698fac6c6afc7896619c92cc2e05d1440 (diff) | |
download | android-node-v8-af78840b194528a147e4683aed27a320f9764ea5.tar.gz android-node-v8-af78840b194528a147e4683aed27a320f9764ea5.tar.bz2 android-node-v8-af78840b194528a147e4683aed27a320f9764ea5.zip |
tls: set ecdhCurve default to 'auto'
For best out-of-the-box compatibility there should not be one default
`ecdhCurve` for the tls client, OpenSSL should choose them
automatically.
See https://wiki.openssl.org/index.php/Manual:SSL_CTX_set1_curves(3)
PR-URL: https://github.com/nodejs/node/pull/16853
Refs: https://github.com/nodejs/node/issues/16196
Refs: https://github.com/nodejs/node/issues/1495
Refs: https://github.com/nodejs/node/pull/15206
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-tls-client-getephemeralkeyinfo.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-tls-client-getephemeralkeyinfo.js b/test/parallel/test-tls-client-getephemeralkeyinfo.js index fcb93aa3b6..d62e1ac0e1 100644 --- a/test/parallel/test-tls-client-getephemeralkeyinfo.js +++ b/test/parallel/test-tls-client-getephemeralkeyinfo.js @@ -80,7 +80,7 @@ function testDHE2048() { } function testECDHE256() { - test(256, 'ECDH', tls.DEFAULT_ECDH_CURVE, testECDHE512); + test(256, 'ECDH', 'prime256v1', testECDHE512); ntests++; } |