File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ const clientConfigs = [
1818
1919const serverConfig = {
2020 secureProtocol : 'TLS_method' ,
21- key : fixtures . readSync ( '/keys/ agent2-key.pem') ,
22- cert : fixtures . readSync ( '/keys/ agent2-cert.pem')
21+ key : fixtures . readKey ( ' agent2-key.pem') ,
22+ cert : fixtures . readKey ( ' agent2-cert.pem')
2323} ;
2424
2525const server = tls . createServer ( serverConfig , common . mustCall ( function ( ) {
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ const tls = require('tls');
99const fixtures = require ( '../common/fixtures' ) ;
1010
1111const server = tls . createServer ( {
12- key : fixtures . readSync ( '/keys/ agent2-key.pem') ,
13- cert : fixtures . readSync ( '/keys/ agent2-cert.pem') ,
12+ key : fixtures . readKey ( ' agent2-key.pem') ,
13+ cert : fixtures . readKey ( ' agent2-cert.pem') ,
1414 // Amount of keylog events depends on negotiated protocol
1515 // version, so force a specific one:
1616 minVersion : 'TLSv1.3' ,
You can’t perform that action at this time.
0 commit comments