src: remove unused INT_MAX constant

Node doesn't use it, and its not documented. Remove it.

PR-URL: https://github.com/nodejs/node/pull/27078
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Sam Roberts 2019-04-03 14:30:47 -07:00 committed by Daniel Bevenius
parent ff89670902
commit bf766c1b44

View File

@ -1063,9 +1063,6 @@ void DefineCryptoConstants(Local<Object> target) {
NODE_DEFINE_CONSTANT(target, TLS1_3_VERSION); NODE_DEFINE_CONSTANT(target, TLS1_3_VERSION);
#endif #endif
// Unused by node, but removing it is semver-major.
NODE_DEFINE_CONSTANT(target, INT_MAX);
#if HAVE_OPENSSL #if HAVE_OPENSSL
// NOTE: These are not defines // NOTE: These are not defines
NODE_DEFINE_CONSTANT(target, POINT_CONVERSION_COMPRESSED); NODE_DEFINE_CONSTANT(target, POINT_CONVERSION_COMPRESSED);