Skip to content

Commit 2913d47

Browse files
committed
tests: use newer cipher for SSL cipher test
1 parent 48cff07 commit 2913d47

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ common.getSSLConfig = function() {
141141
return {
142142
ca : fs.readFileSync(path.join(common.fixtures, 'server.crt'), 'ascii'),
143143
cert : fs.readFileSync(path.join(common.fixtures, 'server.crt'), 'ascii'),
144-
ciphers : 'ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH',
144+
ciphers : 'ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:AES128-SHA:HIGH:!MD5:!aNULL:!EDH',
145145
key : fs.readFileSync(path.join(common.fixtures, 'server.key'), 'ascii')
146146
};
147147
};

test/unit/connection/test-connection-ssl-ciphers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var connection = common.createConnection({
44
port : common.fakeServerPort,
55
ssl : {
66
ca : common.getSSLConfig().ca,
7-
ciphers : 'RC4-SHA'
7+
ciphers : 'AES128-SHA'
88
}
99
});
1010

@@ -17,7 +17,7 @@ server.listen(common.fakeServerPort, function (err) {
1717
assert.ifError(err);
1818
assert.equal(rows.length, 1);
1919
assert.equal(rows[0].Variable_name, 'Ssl_cipher');
20-
assert.equal(rows[0].Value, 'RC4-SHA');
20+
assert.equal(rows[0].Value, 'AES128-SHA');
2121

2222
connection.destroy();
2323
server.destroy();

0 commit comments

Comments
 (0)