Commit Graph

2 Commits

Author SHA1 Message Date
Tobias Nießen
92fb7dd818
test: simplify test-crypto-dh-group-setters
I can't tell why the test was written that way in the first place, but
it seems sufficient to check that setPrivateKey and setPublicKey are
both undefined.

Refs: https://github.com/nodejs/node-v0.x-archive/pull/2638
Refs: https://github.com/nodejs/node/pull/11253
PR-URL: https://github.com/nodejs/node/pull/49404
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2023-08-31 19:33:22 +00:00
Tobias Nießen
452bae1d8e
test: rename test-crypto-modp1-error
This test is not specific to modp1 at all, it might as well use any of
the other groups.

Refs: https://github.com/nodejs/node/pull/40451
PR-URL: https://github.com/nodejs/node/pull/49348
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2023-08-29 18:44:34 +00:00