crypto: createDiffieHellman throw for bad args
Previously crypto.createDiffieHellman() would fail silently when a bad argument was passed for prime/prime_length. Now throws TypeError. Fixes: https://github.com/joyent/node/issues/8480 Signed-off-by:Trevor Norris <trev.norris@gmail.com>
parent
d87480be
Please register or sign in to comment