From 4b976df9e21563b7f331efb19343927ff37af2f3 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. PR-URL: https://github.com/nodejs/node/pull/22953 Refs: https://github.com/nodejs/node/pull/16130 Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Ruben Bridgewater --- 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 3e880a0cc68218..01e6afeeb261cd 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -1628,17 +1628,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 417449c097385a..05f584ab7127d8 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1007,6 +1007,10 @@ argument.