{{ message }}
Commit d4ee390
crypto: remove kMaxLength on randomBytes()
New Buffer implementation allows greater than kMaxLength to be created.
So instead check if the passed value is a valid Smi.
PR-URL: #1825
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>1 parent 54e9a0b commit d4ee390
2 files changed
Lines changed: 8 additions & 4 deletions

0 commit comments