diff --git a/test/parallel/test-tls-dhe.js b/test/parallel/test-tls-dhe.js index 34f403ffed3254..eb2d1b52b136aa 100644 --- a/test/parallel/test-tls-dhe.js +++ b/test/parallel/test-tls-dhe.js @@ -6,6 +6,12 @@ if (!common.hasCrypto) { common.skip('missing crypto'); return; } + +if (!common.opensslCli) { + common.skip('missing openssl-cli'); + return; +} + const tls = require('tls'); const spawn = require('child_process').spawn; diff --git a/test/parallel/test-tls-ecdh-disable.js b/test/parallel/test-tls-ecdh-disable.js index a0555e87781f59..d309102368aaa4 100644 --- a/test/parallel/test-tls-ecdh-disable.js +++ b/test/parallel/test-tls-ecdh-disable.js @@ -6,6 +6,12 @@ if (!common.hasCrypto) { common.skip('missing crypto'); return; } + +if (!common.opensslCli) { + common.skip('missing openssl-cli'); + return; +} + const tls = require('tls'); const exec = require('child_process').exec; diff --git a/test/parallel/test-tls-ecdh.js b/test/parallel/test-tls-ecdh.js index 99c6e108ab736a..56348d5d8e557e 100644 --- a/test/parallel/test-tls-ecdh.js +++ b/test/parallel/test-tls-ecdh.js @@ -5,6 +5,12 @@ if (!common.hasCrypto) { common.skip('missing crypto'); return; } + +if (!common.opensslCli) { + common.skip('missing openssl-cli'); + return; +} + const assert = require('assert'); const tls = require('tls'); diff --git a/test/parallel/test-tls-securepair-server.js b/test/parallel/test-tls-securepair-server.js index 65a7d91a0ca606..76d2f88ac6b8d4 100644 --- a/test/parallel/test-tls-securepair-server.js +++ b/test/parallel/test-tls-securepair-server.js @@ -6,6 +6,12 @@ if (!common.hasCrypto) { common.skip('missing crypto'); return; } + +if (!common.opensslCli) { + common.skip('missing openssl-cli'); + return; +} + const tls = require('tls'); const join = require('path').join;