8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
There was an error while loading. 8000 Please reload this page.
1 parent 3e6da45 commit 9416dabCopy full SHA for 9416dab
test/parallel/test-https-pfx.js
@@ -1,13 +1,15 @@
1
'use strict';
2
const common = require('../common');
3
+
4
if (!common.hasCrypto)
5
common.skip('missing crypto');
6
7
+const fixtures = require('../common/fixtures');
8
9
const assert = require('assert');
-const fs = require('fs');
10
const https = require('https');
11
-const pfx = fs.readFileSync(`${common.fixturesDir}/test_cert.pfx`);
12
+const pfx = fixtures.readSync('test_cert.pfx');
13
14
const options = {
15
host: '127.0.0.1',
0 commit comments