Permalink
Browse files

test: use ciphers supported by shared OpenSSL

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

PR-URL: #14566
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
kapouer authored and MylesBorins committed Aug 1, 2017
1 parent 8b9a05c commit 860c6198c0b3cb76c502beb0b2d8a0aa6c97778f
Showing with 2 additions and 2 deletions.
  1. +1 −1 test/parallel/test-tls-ecdh-disable.js
  2. +1 −1 test/parallel/test-tls-set-ciphers.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
};
@@ -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

0 comments on commit 860c619

Please sign in to comment.