test: fix parallel/test-tls-getcipher
authorRoman Reiss <me@silverwind.io>
Sun, 15 Feb 2015 17:35:14 +0000 (18:35 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Sun, 15 Feb 2015 17:43:06 +0000 (18:43 +0100)
commit30e340ad9d4369ec43f520074e94ac9bd68fe7d0
tree828b00b7756fa3c12d1c909452ec518606c78511
parent35ed79932c0d5adccb80ff7e734da41691a3cd00
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 <info@bnoordhuis.nl>
test/parallel/test-tls-getcipher.js