File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,18 +3,18 @@ const common = require('../common');
33if ( ! common . hasCrypto )
44 common . skip ( 'missing crypto' ) ;
55
6+ const fixtures = require ( '../common/fixtures' ) ;
67const assert = require ( 'assert' ) ;
78const tls = require ( 'tls' ) ;
8- const fs = require ( 'fs' ) ;
99
1010const options = {
1111 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' ) ,
1414 ] ,
1515 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' ) ,
1818 ]
1919} ;
2020
You can’t perform that action at this time.
0 commit comments