crypto: fail early when loading crypto without openssl
Fail early in require('crypto'), require('tls'),
require('https'), etc when crypto is not available
(rather than depending on an internal try/catch).
Add documentation for detecting when crypto is not available.
PR-URL: https://github.com/nodejs/node/pull/5611
Reviewed-By:
Rod Vagg <rod@vagg.org>
Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
parent
0b3936b4
Please register or sign in to comment