From 7044a7a3027dd60419fe010c1bfe5152b54ece36 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Mon, 10 Jun 2019 13:25:59 +0200 Subject: [PATCH] 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 Reviewed-By: Sam Roberts Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Richard Lau Reviewed-By: Trivikram Kamat Reviewed-By: Rich Trott --- lib/tls.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/tls.js b/lib/tls.js index 7eaa76cecedbea..2ac43c01d32dbb 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'))