summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJérémy Lal <kapouer@melix.org>2017-08-01 10:45:34 +0200
committerRich Trott <rtrott@gmail.com>2017-08-07 16:55:45 -0700
commita974753676536e239fbd937e6ffebb74c84d7cbb (patch)
tree911e8cd331a5b1a3c5e8ff044da17222f5421371 /test
parentad664eae7d7a222ae49f97cd5344f3b6be2b4d7b (diff)
downloadandroid-node-v8-a974753676536e239fbd937e6ffebb74c84d7cbb.tar.gz
android-node-v8-a974753676536e239fbd937e6ffebb74c84d7cbb.tar.bz2
android-node-v8-a974753676536e239fbd937e6ffebb74c84d7cbb.zip
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>
Diffstat (limited to 'test')
-rw-r--r--test/parallel/test-tls-ecdh-disable.js2
-rw-r--r--test/parallel/test-tls-set-ciphers.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-tls-ecdh-disable.js b/test/parallel/test-tls-ecdh-disable.js
index d5827d0acc..24ebeb3760 100644
--- a/test/parallel/test-tls-ecdh-disable.js
+++ b/test/parallel/test-tls-ecdh-disable.js
@@ -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
};
diff --git a/test/parallel/test-tls-set-ciphers.js b/test/parallel/test-tls-set-ciphers.js
index 1a41f6df13..5fb437e9bb 100644
--- a/test/parallel/test-tls-set-ciphers.js
+++ b/test/parallel/test-tls-set-ciphers.js
@@ -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