diff options
Diffstat (limited to 'test/simple/test-tls-server-verify.js')
-rw-r--r-- | test/simple/test-tls-server-verify.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/simple/test-tls-server-verify.js b/test/simple/test-tls-server-verify.js index 2b09d82163..377f95b6ba 100644 --- a/test/simple/test-tls-server-verify.js +++ b/test/simple/test-tls-server-verify.js @@ -19,11 +19,10 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. +var common = require('../common'); - - -if (!process.versions.openssl) { - console.error('Skipping because node compiled without OpenSSL.'); +if (!common.opensslCli) { + console.error('Skipping because node compiled without OpenSSL CLI.'); process.exit(0); } @@ -179,7 +178,8 @@ function runClient(options, cb) { } // To test use: openssl s_client -connect localhost:8000 - var client = spawn('openssl', args); + console.log(common.opensslCli, args); + var client = spawn(common.opensslCli, args); var out = ''; |