From 30e340ad9d4369ec43f520074e94ac9bd68fe7d0 Mon Sep 17 00:00:00 2001 From: Roman Reiss Date: Sun, 15 Feb 2015 18:35:14 +0100 Subject: [PATCH] test: fix parallel/test-tls-getcipher The test blindly assumes that the default cipher suite supports RC4 ciphers. This corrects the case where RC4 might not be available in the default ciphers by setting the client to use the same suite as the server. PR-URL: https://github.com/iojs/io.js/pull/853 Reviewed-By: Ben Noordhuis --- test/parallel/test-tls-getcipher.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/parallel/test-tls-getcipher.js b/test/parallel/test-tls-getcipher.js index 7bf3fe88f70e70..05da2ca718684a 100644 --- a/test/parallel/test-tls-getcipher.js +++ b/test/parallel/test-tls-getcipher.js @@ -25,6 +25,7 @@ server.listen(common.PORT, '127.0.0.1', function() { var client = tls.connect({ host: '127.0.0.1', port: common.PORT, + ciphers: cipher_list.join(':'), rejectUnauthorized: false }, function() { var cipher = client.getCipher();