Browse Source

test: use ciphers supported by shared OpenSSL

On Debian with OpenSSL 1.1 CLI, the ciphers used in those tests were
unknown.

PR-URL: https://github.com/nodejs/node/pull/14566
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
v6.x
Jérémy Lal 8 years ago
committed by Myles Borins
parent
commit
860c6198c0
No known key found for this signature in database GPG Key ID: 933B01F40B5CA946
  1. 2
      test/parallel/test-tls-ecdh-disable.js
  2. 2
      test/parallel/test-tls-set-ciphers.js

2
test/parallel/test-tls-ecdh-disable.js

@ -14,7 +14,7 @@ const fs = require('fs');
const options = {
key: fs.readFileSync(`${common.fixturesDir}/keys/agent2-key.pem`),
cert: fs.readFileSync(`${common.fixturesDir}/keys/agent2-cert.pem`),
ciphers: 'ECDHE-RSA-RC4-SHA',
ciphers: 'ECDHE-RSA-AES128-SHA',
ecdhCurve: false
};

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

@ -15,7 +15,7 @@ const fs = require('fs');
const options = {
key: fs.readFileSync(`${common.fixturesDir}/keys/agent2-key.pem`),
cert: fs.readFileSync(`${common.fixturesDir}/keys/agent2-cert.pem`),
ciphers: 'DES-CBC3-SHA'
ciphers: 'AES256-SHA'
};
const reply = 'I AM THE WALRUS'; // something recognizable

Loading…
Cancel
Save