Commit cddf358f authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

test: add regression test for 512 bits DH key

Check that trying to use a < 1024 bits DH key throws an exception.

parallel/test-tls-dhe tests this as well but it feels incongruous not to
do it here when both tests have similar logic for 1024/2048 bits keys.

PR-URL: https://github.com/nodejs/node/pull/3629


Reviewed-By: default avatarSakthipriyan Vairamani <thechargingvolcano@gmail.com>
parent 6d6bc5d9
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