Files
node/lib/internal
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-09-01 00:13:23 +02:00
2018-08-26 17:48:09 -04:00
2018-08-23 00:10:52 +02:00
2018-07-14 14:04:38 +02:00
2018-05-18 15:25:41 +02:00
2018-09-01 00:13:23 +02:00
2018-02-16 18:09:56 +01:00
2018-08-12 10:44:53 -07:00
2018-05-18 15:25:41 +02:00
2018-05-18 15:25:39 +02:00
2018-08-23 00:10:52 +02:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.