diff options
author | Tobias Nießen <tniessen@tnie.de> | 2023-04-17 19:26:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-17 17:26:02 +0000 |
commit | b342a1b5652785cc08238ddd26f7dc13ad61a622 (patch) | |
tree | b126ed5f97549eae6b60127abd0241fe670aa018 /.mailmap | |
parent | e050cecad1887c2bda875f2a9c01360f21744452 (diff) | |
download | node-new-b342a1b5652785cc08238ddd26f7dc13ad61a622.tar.gz |
crypto: remove INT_MAX restriction in randomBytes
This restriction was due to an implementation detail in CSPRNG(). Now
that CSPRNG() properly handles lengths exceeding INT_MAX, remove this
artificial restriction.
Refs: https://github.com/nodejs/node/pull/47515
PR-URL: https://github.com/nodejs/node/pull/47559
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions