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:
parent
ff89670902
commit
bf766c1b44
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user