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:
parent
ad664eae7d
commit
a974753676
@ -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
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user