test: add regression test for 512 bits DH key · nodejs/node@935b977 · GitHub
Skip to content

Commit 935b977

Browse files
bnoordhuisrvagg
authored andcommitted
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: #3629 Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
1 parent e302c33 commit 935b977

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/parallel/test-tls-client-mindhsize.js

Lines changed: 3 additions & 0 deletions

0 commit comments

Comments
 (0)