Files
node/lib
Tobias Nießen 761bbfbd76 crypto: fix incorrect use of INT_MAX in validation
The native crypto module doesn't export INT_MAX, so all occurrences
in the JavaScript layer evaluated to undefined. This change removes
all such occurrences and replaces validateInt32 with validateUint32
since the native layer assumes uint32_t anyway.

The alternative would be to use the constant from the constants
module, but that would be pointless as far as I can tell.

PR-URL: https://github.com/nodejs/node/pull/22581
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2018-09-02 14:11:54 +02:00
..
2018-07-16 11:30:55 +02:00
2018-08-22 17:27:16 -04:00
2018-08-30 17:27:09 +02:00
2018-08-24 18:37:35 -07:00
2018-08-22 17:27:16 -04:00
2018-07-16 15:55:15 -07:00
2018-04-16 16:02:12 +02:00
2017-03-10 11:23:48 -08:00
2018-05-18 15:32:05 +02:00
2018-08-07 10:49:10 -07:00