summaryrefslogtreecommitdiff
path: root/test/pummel/test-tls-ci-reneg-attack.js
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2013-12-11 21:20:17 +0400
committerFedor Indutny <fedor.indutny@gmail.com>2013-12-11 21:21:10 +0400
commit6f3d60388eb8be4f24e6e8312f7bc85f5f8773c3 (patch)
tree4b137d2306ec91c7e1bd6809e40f684f44bcf16e /test/pummel/test-tls-ci-reneg-attack.js
parent153784b3489e2feb9d93a3a5eee5a4aa34f74e39 (diff)
downloadnode-new-6f3d60388eb8be4f24e6e8312f7bc85f5f8773c3.tar.gz
gyp: build openssl-cli tool and use it in tests
fix #6663
Diffstat (limited to 'test/pummel/test-tls-ci-reneg-attack.js')
-rw-r--r--test/pummel/test-tls-ci-reneg-attack.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/pummel/test-tls-ci-reneg-attack.js b/test/pummel/test-tls-ci-reneg-attack.js
index b077ef4b2f..16d7e2952c 100644
--- a/test/pummel/test-tls-ci-reneg-attack.js
+++ b/test/pummel/test-tls-ci-reneg-attack.js
@@ -28,11 +28,6 @@ var fs = require('fs');
// renegotiation limits to test
var LIMITS = [0, 1, 2, 3, 5, 10, 16];
-if (process.platform === 'win32') {
- console.log('Skipping test, you probably don\'t have openssl installed.');
- process.exit();
-}
-
(function() {
var n = 0;
function next() {
@@ -63,7 +58,7 @@ function test(next) {
server.listen(common.PORT, function() {
var args = ('s_client -connect 127.0.0.1:' + common.PORT).split(' ');
- var child = spawn('openssl', args);
+ var child = spawn(common.opensslCli, args);
child.stdout.pipe(process.stdout);
child.stderr.pipe(process.stderr);