summaryrefslogtreecommitdiff
path: root/test/async-hooks/test-tlswrap.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/async-hooks/test-tlswrap.js')
-rw-r--r--test/async-hooks/test-tlswrap.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/async-hooks/test-tlswrap.js b/test/async-hooks/test-tlswrap.js
index d6dcd20470..65a4087d16 100644
--- a/test/async-hooks/test-tlswrap.js
+++ b/test/async-hooks/test-tlswrap.js
@@ -24,8 +24,8 @@ tls.DEFAULT_MAX_VERSION = 'TLSv1.2';
//
const server = tls
.createServer({
- cert: fixtures.readSync('test_cert.pem'),
- key: fixtures.readSync('test_key.pem')
+ cert: fixtures.readKey('rsa_cert.crt'),
+ key: fixtures.readKey('rsa_private.pem')
})
.on('listening', common.mustCall(onlistening))
.on('secureConnection', common.mustCall(onsecureConnection))