| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,15 +1,15 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | - var common = require('../common'); | ||
| 3 | - var assert = require('assert'); | ||
| 2 | + const common = require('../common'); | ||
| 4 | 3 | ||
| 5 | 4 | if (!common.hasCrypto) { | |
| 6 | 5 | common.skip('missing crypto'); | |
| 7 | 6 | return; | |
| 8 | 7 | } | |
| 9 | - var tls = require('tls'); | ||
| 10 | - var fs = require('fs'); | ||
| 8 | + const assert = require('assert'); | ||
| 9 | + const tls = require('tls'); | ||
| 10 | + const fs = require('fs'); | ||
| 11 | 11 | ||
| 12 | - var options = { | ||
| 12 | + const options = { | ||
| 13 | 13 | key: fs.readFileSync(common.fixturesDir + '/keys/agent1-key.pem'), | |
| 14 | 14 | cert: fs.readFileSync(common.fixturesDir + '/keys/agent2-cert.pem') | |
| 15 | 15 | }; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments