Unverified Commit 09c97b81 authored by Nitzan Uziely's avatar Nitzan Uziely Committed by James M Snell
Browse files

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: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarBenjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: default avatarDarshan Sen <raisinten@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 3b86138f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment