summaryrefslogtreecommitdiff
path: root/lib/_tls_common.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_tls_common.js')
-rw-r--r--lib/_tls_common.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/_tls_common.js b/lib/_tls_common.js
index 12896b294c..2401bd0b4b 100644
--- a/lib/_tls_common.js
+++ b/lib/_tls_common.js
@@ -69,16 +69,6 @@ function validateKeyCert(name, value) {
exports.SecureContext = SecureContext;
-function ecdhCurveWarning() {
- if (ecdhCurveWarning.emitted) return;
- process.emitWarning('{ ecdhCurve: false } is deprecated.',
- 'DeprecationWarning',
- 'DEP0083');
- ecdhCurveWarning.emitted = true;
-}
-ecdhCurveWarning.emitted = false;
-
-
exports.createSecureContext = function createSecureContext(options, context) {
if (!options) options = {};
@@ -154,8 +144,6 @@ exports.createSecureContext = function createSecureContext(options, context) {
c.context.setECDHCurve(tls.DEFAULT_ECDH_CURVE);
else if (options.ecdhCurve)
c.context.setECDHCurve(options.ecdhCurve);
- else
- ecdhCurveWarning();
if (options.dhparam) {
const warning = c.context.setDHParam(options.dhparam);