| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,12 +25,13 @@ if (!common.hasCrypto) | |||
| 25 | 25 | common.skip('missing crypto'); | |
| 26 | 26 | ||
| 27 | 27 | const assert = require('assert'); | |
| 28 | - const fs = require('fs'); | ||
| 29 | 28 | const https = require('https'); | |
| 30 | 29 | ||
| 30 | + const fixtures = require('../common/fixtures'); | ||
| 31 | + | ||
| 31 | 32 | const options = { | |
| 32 | - key: fs.readFileSync(`${common.fixturesDir}/keys/agent1-key.pem`), | ||
| 33 | - cert: fs.readFileSync(`${common.fixturesDir}/keys/agent1-cert.pem`) | ||
| 33 | + key: fixtures.readKey('agent1-key.pem'), | ||
| 34 | + cert: fixtures.readKey('agent1-cert.pem') | ||
| 34 | 35 | }; | |
| 35 | 36 | ||
| 36 | 37 | const invalidLocalAddress = '1.2.3.4'; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments