Skip to content

src: remove INT_MAX asserts in SecretKeyGenTraits

Now that CSPRNG() does not silently fail when the length exceeds INT_MAX anymore, there is no need for the two relevant assertions in SecretKeyGenTraits anymore.

Refs: https://github.com/nodejs/node/pull/47515

Merge request reports

Loading