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>
This commit is contained in:
Jérémy Lal 2017-08-01 10:45:34 +02:00 committed by Rich Trott
parent ad664eae7d
commit a974753676
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,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
};

View File

@ -36,7 +36,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