Skip to content
Permalink
Browse files

src: remove unused INT_MAX constant

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

PR-URL: #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>
  • Loading branch information...
sam-github authored and danbev committed Apr 3, 2019
1 parent ff89670 commit bf766c1b44c68b47153339b84e12bef0f33e7ee7
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/node_constants.cc
@@ -1063,9 +1063,6 @@ void DefineCryptoConstants(Local<Object> target) {
NODE_DEFINE_CONSTANT(target, TLS1_3_VERSION);
#endif

// Unused by node, but removing it is semver-major.
NODE_DEFINE_CONSTANT(target, INT_MAX);

#if HAVE_OPENSSL
// NOTE: These are not defines
NODE_DEFINE_CONSTANT(target, POINT_CONVERSION_COMPRESSED);

0 comments on commit bf766c1

Please sign in to comment.
You can’t perform that action at this time.