Skip to content

Commit

Permalink
test: use ciphers supported by shared OpenSSL
Browse files Browse the repository at this point in the history
On Debian with OpenSSL 1.1 CLI, the ciphers used in those tests were
unknown.

PR-URL: nodejs#14566
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
kapouer authored and Trott committed Aug 7, 2017
1 parent ad664ea commit a974753
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/parallel/test-tls-ecdh-disable.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-tls-set-ciphers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a974753

Please sign in to comment.