File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ const clientConfigs = [
18
18
19
19
const serverConfig = {
20
20
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')
23
23
} ;
24
24
25
25
const 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');
9
9
const fixtures = require ( '../common/fixtures' ) ;
10
10
11
11
const 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') ,
14
14
// Amount of keylog events depends on negotiated protocol
15
15
// version, so force a specific one:
16
16
minVersion : 'TLSv1.3' ,
You can’t perform that action at this time.
0 commit comments