summaryrefslogtreecommitdiff
path: root/test/sequential/test-tls-connect.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/sequential/test-tls-connect.js')
-rw-r--r--test/sequential/test-tls-connect.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/sequential/test-tls-connect.js b/test/sequential/test-tls-connect.js
index 5cfec7ed04..291747aea7 100644
--- a/test/sequential/test-tls-connect.js
+++ b/test/sequential/test-tls-connect.js
@@ -33,8 +33,8 @@ const tls = require('tls');
// https://github.com/joyent/node/issues/1218
// uncatchable exception on TLS connection error
{
- const cert = fixtures.readKey('rsa_cert.crt');
- const key = fixtures.readKey('rsa_private.pem');
+ const cert = fixtures.readSync('test_cert.pem');
+ const key = fixtures.readSync('test_key.pem');
const options = { cert: cert, key: key, port: common.PORT };
const conn = tls.connect(options, common.mustNotCall());
@@ -47,8 +47,8 @@ const tls = require('tls');
// SSL_accept/SSL_connect error handling
{
- const cert = fixtures.readKey('rsa_cert.crt');
- const key = fixtures.readKey('rsa_private.pem');
+ const cert = fixtures.readSync('test_cert.pem');
+ const key = fixtures.readSync('test_key.pem');
assert.throws(() => {
tls.connect({