Commit 1a4a1895 authored by Trevor Norris's avatar Trevor Norris
Browse files

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: default avatarTrevor Norris <trev.norris@gmail.com>
parent d87480be
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