| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b766d27 commit 8ea9648
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,12 +5,12 @@ if (!common.hasCrypto) | |||
| 5 | 5 | common.skip('missing crypto'); | |
| 6 | 6 | ||
| 7 | 7 | const https = require('https'); | |
| 8 | - const fs = require('fs'); | ||
| 8 | + const fixtures = require('../common/fixtures'); | ||
| 9 | 9 | ||
| 10 | 10 | const options = { | |
| 11 | - key: fs.readFileSync(`${common.fixturesDir}/keys/agent1-key.pem`), | ||
| 12 | - cert: fs.readFileSync(`${common.fixturesDir}/keys/agent1-cert.pem`), | ||
| 13 | - ca: fs.readFileSync(`${common.fixturesDir}/keys/ca1-cert.pem`) | ||
| 11 | + key: fixtures.readKey('agent1-key.pem'), | ||
| 12 | + cert: fixtures.readKey('agent1-cert.pem'), | ||
| 13 | + ca: fixtures.readKey('ca1-cert.pem') | ||
| 14 | 14 | }; | |
| 15 | 15 | ||
| 16 | 16 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments