Skip to content

Commit 30e340a

Browse files
silverwindbnoordhuis
authored andcommitted
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: #853 Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 35ed799 commit 30e340a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/parallel/test-tls-getcipher.js

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ server.listen(common.PORT, '127.0.0.1', function() {
2525
var client = tls.connect({
2626
host: '127.0.0.1',
2727
port: common.PORT,
28+
ciphers: cipher_list.join(':'),
2829
rejectUnauthorized: false
2930
}, function() {
3031
var cipher = client.getCipher();

0 commit comments

Comments
 (0)