diff options
author | Alex Aubuchon <alex@aub.dev> | 2019-05-29 11:43:44 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-06-10 09:56:55 -0700 |
commit | 6326ced2de39e7d58237cb27ca884c675621a10d (patch) | |
tree | 4d63e76a6b62aeaa2e34b67de755601a3d175623 /test/parallel/test-tls-no-sslv3.js | |
parent | 17c65d334432b0f663903b14f60f874577c5f440 (diff) | |
download | android-node-v8-6326ced2de39e7d58237cb27ca884c675621a10d.tar.gz android-node-v8-6326ced2de39e7d58237cb27ca884c675621a10d.tar.bz2 android-node-v8-6326ced2de39e7d58237cb27ca884c675621a10d.zip |
test: move test_[key|ca|cert] to fixtures/keys/
Lots of changes, but mostly just search/replace of
fixtures.readSync(...) to fixtures.readKey([new key]...)
Benchmarks modified to use fixtures.readKey(...):
benchmark/tls/throughput.js
benchmark/tls/tls-connect.js
benchmark/tls/secure-pair.js
Also be sure to review the change to L16 of
test/parallel/test-crypto-sign-verify.js
PR-URL: https://github.com/nodejs/node/pull/27962
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/parallel/test-tls-no-sslv3.js')
-rw-r--r-- | test/parallel/test-tls-no-sslv3.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-tls-no-sslv3.js b/test/parallel/test-tls-no-sslv3.js index 4cbb62e3d5..1acb1f9376 100644 --- a/test/parallel/test-tls-no-sslv3.js +++ b/test/parallel/test-tls-no-sslv3.js @@ -11,8 +11,8 @@ const tls = require('tls'); const spawn = require('child_process').spawn; const fixtures = require('../common/fixtures'); -const cert = fixtures.readSync('test_cert.pem'); -const key = fixtures.readSync('test_key.pem'); +const cert = fixtures.readKey('rsa_cert.crt'); +const key = fixtures.readKey('rsa_private.pem'); const server = tls.createServer({ cert, key }, common.mustNotCall()); const errors = []; let stderr = ''; |