Skip to content

Commit cdda7f4

Browse files
ovhemertrvagg
authored andcommitted
test: https agent clientcertengine coverage
PR-URL: #24248 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 92f8266 commit cdda7f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-https-agent-getname.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const options = {
2222
localAddress: '192.168.1.1',
2323
ca: 'ca',
2424
cert: 'cert',
25+
clientCertEngine: 'dynamic',
2526
ciphers: 'ciphers',
2627
crl: [Buffer.from('c'), Buffer.from('r'), Buffer.from('l')],
2728
dhparam: 'dhparam',
@@ -38,6 +39,6 @@ const options = {
3839

3940
assert.strictEqual(
4041
agent.getName(options),
41-
'0.0.0.0:443:192.168.1.1:ca:cert::ciphers:key:pfx:false:localhost:' +
42+
'0.0.0.0:443:192.168.1.1:ca:cert:dynamic:ciphers:key:pfx:false:localhost:' +
4243
'secureProtocol:c,r,l:false:ecdhCurve:dhparam:0:sessionIdContext'
4344
);

0 commit comments

Comments
 (0)