Skip to content

Commit afab7ef

Browse files
committed
fixup! tls: ciphers allow bang syntax
1 parent 721cb48 commit afab7ef

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/parallel/test-tls-set-ciphers.js

-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ const {
1616
function test(cciphers, sciphers, cipher, cerr, serr, options) {
1717
assert(cipher || cerr || serr, 'test missing any expectations');
1818
const where = inspect(new Error()).split('\n')[2].replace(/[^(]*/, '');
19-
const minVersion = options?.minVersion;
2019

2120
const max_tls_ver = (ciphers, options) => {
2221
if (options instanceof Object && Object.hasOwn(options, 'maxVersion'))
@@ -33,14 +32,12 @@ function test(cciphers, sciphers, cipher, cerr, serr, options) {
3332
ca: `${keys.agent1.cert}\n${keys.agent6.ca}`,
3433
ciphers: cciphers,
3534
maxVersion: max_tls_ver(cciphers, options),
36-
...(minVersion && { minVersion }),
3735
},
3836
server: {
3937
cert: keys.agent6.cert,
4038
key: keys.agent6.key,
4139
ciphers: sciphers,
4240
maxVersion: max_tls_ver(sciphers, options),
43-
...(minVersion && { minVersion }),
4441
},
4542
}, common.mustCall((err, pair, cleanup) => {
4643
function u(_) { return _ === undefined ? 'U' : _; }

0 commit comments

Comments
 (0)