test: add test for invalid DSA key size
authorStefan Budeanu <stefan@budeanu.com>
Fri, 13 Nov 2015 01:49:21 +0000 (20:49 -0500)
committerJames M Snell <jasnell@gmail.com>
Wed, 23 Dec 2015 16:38:33 +0000 (08:38 -0800)
commitb44dacc41ec01fc81981eda8c54641ecee9e554b
tree752c285e0d1cfdbd51c48a3b7f88f046215f3bc3
parentc6ca1f34836915690ede6e05ea932709a087bdba
test: add test for invalid DSA key size

Check that invalid DSA key sizes are rejected in FIPS mode.

PR-URL: https://github.com/nodejs/node/pull/3756
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
Reviewed-By: James M Snell <jasnell@gmail.com>
test/fixtures/keys/Makefile
test/fixtures/keys/dsa1025.pem [new file with mode: 0644]
test/fixtures/keys/dsa_private_1025.pem [new file with mode: 0644]
test/fixtures/keys/dsa_public_1025.pem [new file with mode: 0644]
test/parallel/test-dsa-fips-invalid-key.js [new file with mode: 0644]