crypto: remove redundant validateUint32 argument · nodejs/node@c1cb639 · GitHub
Skip to content

Commit c1cb639

Browse files
tniessenMylesBorins
authored andcommitted
crypto: remove redundant validateUint32 argument
The third parameter should be a boolean indicating whether the number must be positive. Passing zero works, but is unnecessary, misleading and inconsistent with other uses of the same function. PR-URL: #30579 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 0d26263 commit c1cb639

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/internal/crypto/pbkdf2.js

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)