| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d2e4a87 commit 2f66faf
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21,14 +21,16 @@ | |||
| 21 | 21 | ||
| 22 | 22 | 'use strict'; | |
| 23 | 23 | const common = require('../common'); | |
| 24 | + | ||
| 24 | 25 | if (!common.hasCrypto) | |
| 25 | 26 | common.skip('missing crypto'); | |
| 26 | 27 | ||
| 28 | + const fixtures = require('../common/fixtures'); | ||
| 29 | + | ||
| 27 | 30 | const assert = require('assert'); | |
| 28 | - const fs = require('fs'); | ||
| 29 | 31 | const https = require('https'); | |
| 30 | 32 | ||
| 31 | - const pfx = fs.readFileSync(`${common.fixturesDir}/test_cert.pfx`); | ||
| 33 | + const pfx = fixtures.readSync('test_cert.pfx'); | ||
| 32 | 34 | ||
| 33 | 35 | const options = { | |
| 34 | 36 | host: '127.0.0.1', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments