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