From 8362c897fb5a781763276916f70c48910d328817 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Thu, 2 Nov 2023 08:48:43 +0100 Subject: [PATCH] Update test/parallel/test-tls-ecdh-multiple.js --- test/parallel/test-tls-ecdh-multiple.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-tls-ecdh-multiple.js b/test/parallel/test-tls-ecdh-multiple.js index 17d2baeb9af421..ae2168adb5a16e 100644 --- a/test/parallel/test-tls-ecdh-multiple.js +++ b/test/parallel/test-tls-ecdh-multiple.js @@ -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 }),