Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2013-12-06 14:30:13 +0400
committerFedor Indutny <fedor.indutny@gmail.com>2013-12-07 02:32:03 +0400
commitf5ab3e4c5cd37b76d60f657190b315183dbefeba (patch)
tree8ffddc97c99c18c1e8d3c1411761593cc71004da /benchmark/tls/tls-connect.js
parent1903240f2a5a3fbf723e7736c5dd14f906de98fb (diff)
benchmark: fixate `ciphers` in tls benchmarks
Benchmark should always use the same cipher in order to be truthful.
Diffstat (limited to 'benchmark/tls/tls-connect.js')
-rw-r--r--benchmark/tls/tls-connect.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/benchmark/tls/tls-connect.js b/benchmark/tls/tls-connect.js
index 0da448ee852..96c9c5ab275 100644
--- a/benchmark/tls/tls-connect.js
+++ b/benchmark/tls/tls-connect.js
@@ -23,7 +23,8 @@ function main(conf) {
var cert_dir = path.resolve(__dirname, '../../test/fixtures'),
options = { key: fs.readFileSync(cert_dir + '/test_key.pem'),
cert: fs.readFileSync(cert_dir + '/test_cert.pem'),
- ca: [ fs.readFileSync(cert_dir + '/test_ca.pem') ] };
+ ca: [ fs.readFileSync(cert_dir + '/test_ca.pem') ],
+ ciphers: 'AES256-GCM-SHA384' };
server = tls.createServer(options, onConnection);
server.listen(common.PORT, onListening);