test: add diffie-hellman regression test
authorBen Noordhuis <info@bnoordhuis.nl>
Sun, 21 Oct 2012 21:55:52 +0000 (23:55 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Sun, 21 Oct 2012 21:56:01 +0000 (23:56 +0200)
commit82df345fbba15ba42eeb9955f3bc76609c86e677
tree7f4cb03208114a819f245d930a0a2356f1dd0bb9
parent627f0d27e827295cf8e7442b89d4fc5708ef5d8d
test: add diffie-hellman regression test

Exercises the error path in DiffieHellman::ComputeSecret() in src/node_crypto.cc
test/simple/test-crypto.js