summaryrefslogtreecommitdiff
path: root/test/async-hooks/test-tlswrap.js
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2019-06-05 18:19:24 -0400
committerRefael Ackermann <refack@gmail.com>2019-06-05 19:01:13 -0400
commit965ffc4cb9a55d26192a95485b57afe4573990b0 (patch)
tree9352dc45708cad51baddc9114170bc9b0919d495 /test/async-hooks/test-tlswrap.js
parent81a9c7201f66855cdca534dae1a3f53f822a009b (diff)
downloadnode-new-965ffc4cb9a55d26192a95485b57afe4573990b0.tar.gz
Revert "test: move all test keys/certs under `test/fixtures/keys/`"
PR-URL: https://github.com/nodejs/node/pull/28083 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com>
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 65a4087d16..d6dcd20470 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.readKey('rsa_cert.crt'),
- key: fixtures.readKey('rsa_private.pem')
+ cert: fixtures.readSync('test_cert.pem'),
+ key: fixtures.readSync('test_key.pem')
})
.on('listening', common.mustCall(onlistening))
.on('secureConnection', common.mustCall(onsecureConnection))