From afab7efb8665499f13c74f72f1512fa59f38f00d Mon Sep 17 00:00:00 2001 From: atlowChemi Date: Thu, 21 Sep 2023 09:34:36 +0300 Subject: [PATCH] fixup! tls: ciphers allow bang syntax --- test/parallel/test-tls-set-ciphers.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/parallel/test-tls-set-ciphers.js b/test/parallel/test-tls-set-ciphers.js index 6395880b20c5d5..542fcdee9e90a6 100644 --- a/test/parallel/test-tls-set-ciphers.js +++ b/test/parallel/test-tls-set-ciphers.js @@ -16,7 +16,6 @@ const { function test(cciphers, sciphers, cipher, cerr, serr, options) { assert(cipher || cerr || serr, 'test missing any expectations'); const where = inspect(new Error()).split('\n')[2].replace(/[^(]*/, ''); - const minVersion = options?.minVersion; const max_tls_ver = (ciphers, options) => { if (options instanceof Object && Object.hasOwn(options, 'maxVersion')) @@ -33,14 +32,12 @@ function test(cciphers, sciphers, cipher, cerr, serr, options) { ca: `${keys.agent1.cert}\n${keys.agent6.ca}`, ciphers: cciphers, maxVersion: max_tls_ver(cciphers, options), - ...(minVersion && { minVersion }), }, server: { cert: keys.agent6.cert, key: keys.agent6.key, ciphers: sciphers, maxVersion: max_tls_ver(sciphers, options), - ...(minVersion && { minVersion }), }, }, common.mustCall((err, pair, cleanup) => { function u(_) { return _ === undefined ? 'U' : _; }