Skip to content

Commit

Permalink
tests: use newer cipher for SSL cipher test
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Jun 21, 2018
1 parent 48cff07 commit 2913d47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/common.js
Expand Up @@ -141,7 +141,7 @@ common.getSSLConfig = function() {
return {
ca : fs.readFileSync(path.join(common.fixtures, 'server.crt'), 'ascii'),
cert : fs.readFileSync(path.join(common.fixtures, 'server.crt'), 'ascii'),
ciphers : 'ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH',
ciphers : 'ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:AES128-SHA:HIGH:!MD5:!aNULL:!EDH',
key : fs.readFileSync(path.join(common.fixtures, 'server.key'), 'ascii')
};
};
Expand Down
4 changes: 2 additions & 2 deletions test/unit/connection/test-connection-ssl-ciphers.js
Expand Up @@ -4,7 +4,7 @@ var connection = common.createConnection({
port : common.fakeServerPort,
ssl : {
ca : common.getSSLConfig().ca,
ciphers : 'RC4-SHA'
ciphers : 'AES128-SHA'
}
});

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

connection.destroy();
server.destroy();
Expand Down

0 comments on commit 2913d47

Please sign in to comment.