crypto: fix randomInt range check · nodejs/node@a12d92c · GitHub
Skip to content

Commit a12d92c

Browse files
tniessenrichardlau
authored andcommitted
crypto: fix randomInt range check
Refs: #34600 PR-URL: #35052 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent f6b2286 commit a12d92c

2 files changed

Lines changed: 12 additions & 9 deletions

File tree

lib/internal/crypto/random.js

Lines changed: 2 additions & 2 deletions

test/parallel/test-crypto-random.js

Lines changed: 10 additions & 7 deletions

0 commit comments

Comments
 (0)