since this applies to tls and https (among other things), it'll be used
for those tests as well. if we decouple the build system to somehow support
crypto but not tls, we could refine this.
PR-URL: https://github.com/iojs/io.js/pull/1049
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
return opensslCli;
}, enumerable: true });
+Object.defineProperty(exports, 'hasCrypto', {get: function() {
+ return process.versions.openssl ? true : false;
+}});
if (process.platform === 'win32') {
exports.PIPE = '\\\\.\\pipe\\libuv-test';