summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-session-cache.js
diff options
context:
space:
mode:
authorAlex Aubuchon <alex@aub.dev>2019-05-29 16:03:21 -0700
committerAli Ijaz Sheikh <ofrobots@google.com>2019-06-05 11:37:54 -0700
commit3e5b20cc0e3ea77803cc8ca796e98af99bc7ec49 (patch)
treea92e869ffba1946c6f731d1815460b71aaa52880 /test/parallel/test-tls-session-cache.js
parent7aa79be81cb1613443cc2a8a5ada7ab688194824 (diff)
downloadandroid-node-v8-3e5b20cc0e3ea77803cc8ca796e98af99bc7ec49.tar.gz
android-node-v8-3e5b20cc0e3ea77803cc8ca796e98af99bc7ec49.tar.bz2
android-node-v8-3e5b20cc0e3ea77803cc8ca796e98af99bc7ec49.zip
test: remove uneeded agent keypair in fixtures/
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-session-cache.js')
-rw-r--r--test/parallel/test-tls-session-cache.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/parallel/test-tls-session-cache.js b/test/parallel/test-tls-session-cache.js
index 2a74be0521..34c4a71ab2 100644
--- a/test/parallel/test-tls-session-cache.js
+++ b/test/parallel/test-tls-session-cache.js
@@ -41,8 +41,8 @@ doTest({ tickets: false }, function() {
});
function doTest(testOptions, callback) {
- const key = fixtures.readSync('agent.key');
- const cert = fixtures.readSync('agent.crt');
+ const key = fixtures.readKey('rsa_private.pem');
+ const cert = fixtures.readKey('rsa_cert.crt');
const options = {
key,
cert,
@@ -101,8 +101,8 @@ function doTest(testOptions, callback) {
'-tls1',
'-connect', `localhost:${this.address().port}`,
'-servername', 'ohgod',
- '-key', fixtures.path('agent.key'),
- '-cert', fixtures.path('agent.crt'),
+ '-key', fixtures.path('keys/rsa_private.pem'),
+ '-cert', fixtures.path('keys/rsa_cert.crt'),
'-reconnect'
].concat(testOptions.tickets ? [] : '-no_ticket');