diff --git a/test/parallel/test-tls-dhe.js b/test/parallel/test-tls-dhe.js index a5cdc2d35ecbb7..46779b09ff6b8f 100644 --- a/test/parallel/test-tls-dhe.js +++ b/test/parallel/test-tls-dhe.js @@ -65,7 +65,7 @@ function test(dhparam, keylen, expectedCipher) { server.listen(0, '127.0.0.1', common.mustCall(() => { const args = ['s_client', '-connect', `127.0.0.1:${server.address().port}`, - '-cipher', ciphers]; + '-cipher', `${ciphers}:@SECLEVEL=1`]; execFile(common.opensslCli, args, common.mustSucceed((stdout) => { assert(keylen === null ||