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: https://github.com/nodejs/io.js/pull/1825 Reviewed-By:Ben Noordhuis <info@bnoordhuis.nl>
parent
86640841
Please register or sign in to comment