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