Commit f429fe1b authored by James M Snell's avatar James M Snell
Browse files

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: default avatarRod Vagg <rod@vagg.org>
Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
parent 0b3936b4
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment