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 authored and Rich Trott committed 2017-08-07 16:55:45 -07:00
1 parent ad664eae7d
commit a974753676
2 files changed
+2 -2

No files matched your search

+1 -1
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
};
+1 -1
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