From 64262a24069c1d02482d2ac5fde9273aa0a60985 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Wed, 19 Sep 2018 19:40:44 +0200 Subject: [PATCH] tls: fix DEP0083 after upgrading to OpenSSL 1.1.0 Setting ecdhCurve to false is already unsupported, so the deprecation should already be EOL. The test was skipped ever since we upgraded to OpenSSL 1.1.0. Refs: https://github.com/nodejs/node/pull/16130 --- doc/api/deprecations.md | 9 ++-- doc/api/tls.md | 6 ++- lib/_tls_common.js | 12 ----- test/parallel/test-tls-ecdh-disable.js | 66 -------------------------- 4 files changed, 11 insertions(+), 82 deletions(-) delete mode 100644 test/parallel/test-tls-ecdh-disable.js diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index b14599f26b05e9..9f1b3c0b700491 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -1648,17 +1648,20 @@ the `REPLServer` itself. Do not use this function. ### DEP0083: Disabling ECDH by setting ecdhCurve to false -Type: Runtime +Type: End-of-Life. The `ecdhCurve` option to `tls.createSecureContext()` and `tls.TLSSocket` could -be set to `false` to disable ECDH entirely on the server only. This mode is +be set to `false` to disable ECDH entirely on the server only. This mode was deprecated in preparation for migrating to OpenSSL 1.1.0 and consistency with -the client. Use the `ciphers` parameter instead. +the client and is now unsupported. Use the `ciphers` parameter instead. ### DEP0084: requiring bundled internal dependencies diff --git a/doc/api/tls.md b/doc/api/tls.md index e7d04e448e233b..292b27ae05d981 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1007,6 +1007,10 @@ argument.