Skip to content

Commit

Permalink
Update test/parallel/test-tls-ecdh-multiple.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca authored Nov 2, 2023
1 parent c921332 commit 8362c89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/parallel/test-tls-ecdh-multiple.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ const server = tls.createServer(options, (conn) => {
];

// Brainpool is not supported in FIPS mode.
if (common.hasFipsCrypto) unsupportedCurves.push('brainpoolP256r1');
if (common.hasFipsCrypto)
unsupportedCurves.push('brainpoolP256r1');

for (const ecdhCurve of unsupportedCurves) {
assert.throws(
() => tls.createServer({ ecdhCurve }),
Expand Down

0 comments on commit 8362c89

Please sign in to comment.