summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-ecdh.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-tls-ecdh.js')
-rw-r--r--test/parallel/test-tls-ecdh.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/parallel/test-tls-ecdh.js b/test/parallel/test-tls-ecdh.js
index 32e77456bd..856c1a96fb 100644
--- a/test/parallel/test-tls-ecdh.js
+++ b/test/parallel/test-tls-ecdh.js
@@ -22,15 +22,11 @@
'use strict';
const common = require('../common');
-if (!common.hasCrypto) {
+if (!common.hasCrypto)
common.skip('missing crypto');
- return;
-}
-if (!common.opensslCli) {
+if (!common.opensslCli)
common.skip('missing openssl-cli');
- return;
-}
const assert = require('assert');
const tls = require('tls');