summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-session-cache.js
diff options
context:
space:
mode:
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 34c4a71ab2..2a74be0521 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.readKey('rsa_private.pem');
- const cert = fixtures.readKey('rsa_cert.crt');
+ const key = fixtures.readSync('agent.key');
+ const cert = fixtures.readSync('agent.crt');
const options = {
key,
cert,
@@ -101,8 +101,8 @@ function doTest(testOptions, callback) {
'-tls1',
'-connect', `localhost:${this.address().port}`,
'-servername', 'ohgod',
- '-key', fixtures.path('keys/rsa_private.pem'),
- '-cert', fixtures.path('keys/rsa_cert.crt'),
+ '-key', fixtures.path('agent.key'),
+ '-cert', fixtures.path('agent.crt'),
'-reconnect'
].concat(testOptions.tickets ? [] : '-no_ticket');