Skip to content

Commit a01a6f8

Browse files
committed
test: change ciphers from 'RC4' to 'missing'
This commit updates option ciphers from 'RC4' to 'missing' in test/parallel/test-tls-handshake-error.js. The motivation for this change is that this test is verifying that a 'no ciphers match' error be thrown, but 'RC4' might be among the ciphers supported by the OpenSSL version when dynamically linking. I ran into this specific issue when dynamically linking against OpenSSL 1.1.1 on RHEL8 using nodejs#25381.
1 parent 6b2af91 commit a01a6f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/parallel/test-tls-handshake-error.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const server = tls.createServer({
1919
assert.throws(() => {
2020
tls.connect({
2121
port: this.address().port,
22-
ciphers: 'RC4'
22+
ciphers: 'missing'
2323
}, common.mustNotCall());
2424
}, /no cipher match/i);
2525

0 commit comments

Comments
 (0)