Skip to content

Commit

Permalink
test: https agent clientcertengine coverage
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ovhemert authored and targos committed Nov 18, 2018
1 parent 1758d41 commit 8bcc8a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-https-agent-getname.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const options = {
localAddress: '192.168.1.1',
ca: 'ca',
cert: 'cert',
clientCertEngine: 'dynamic',
ciphers: 'ciphers',
crl: [Buffer.from('c'), Buffer.from('r'), Buffer.from('l')],
dhparam: 'dhparam',
Expand All @@ -38,6 +39,6 @@ const options = {

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

0 comments on commit 8bcc8a1

Please sign in to comment.