crypto: fix generateKeyPair type checks
Change saltLength, divisorLength, primeLength and generator checks in generateKeyPair to int32 from uint32, to align with c++ code. fixes: https://github.com/nodejs/node/issues/38358 PR-URL: https://github.com/nodejs/node/pull/38364 Fixes: https://github.com/nodejs/node/issues/38358 Reviewed-By:Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By:
Darshan Sen <raisinten@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
parent
3b86138f
Please register or sign in to comment