diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-06-10 14:25:59 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-06-17 15:39:41 +0300 |
commit | c925d1dcaa13e23ae51769c8e9a20e9141a643a4 (patch) | |
tree | 7abac3fd4d77a27ea44ec5349c3c6116d8befc77 | |
parent | ed24c19002379063ce100037bfff7ca2da5b6cc8 (diff) |
tls: remove unnecessary set of DEFAULT_MAX_VERSION
This commit removes what looks like an unnecessary setting of
exports.DEFAULT_MAX_VALUE.
PR-URL: https://github.com/nodejs/node/pull/28147
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
-rw-r--r-- | lib/tls.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/tls.js b/lib/tls.js index 7eaa76ceced..2ac43c01d32 100644 --- a/lib/tls.js +++ b/lib/tls.js @@ -56,8 +56,6 @@ exports.DEFAULT_CIPHERS = exports.DEFAULT_ECDH_CURVE = 'auto'; -exports.DEFAULT_MAX_VERSION = 'TLSv1.3'; - if (getOptionValue('--tls-min-v1.0')) exports.DEFAULT_MIN_VERSION = 'TLSv1'; else if (getOptionValue('--tls-min-v1.1')) |