From 02dc680b0422cb1a0fa8744fadab0e92bd2b03dd Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Mon, 19 Dec 2016 13:17:18 -0800 Subject: [PATCH] doc: fix typo in ecdhCurve, a tls property name Addresses comment after PR #6933 merged. https://github.com/nodejs/node/pull/6933#pullrequestreview-13318708 PR-URL: https://github.com/nodejs/node/pull/10345 Reviewed-By: Roman Reiss Reviewed-By: Italo A. Casas --- doc/api/tls.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/tls.md b/doc/api/tls.md index 08996fdff2cbca..fb90f776c94270 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -98,9 +98,9 @@ openssl dhparam -outform PEM -out dhparam.pem 2048 ``` If using Perfect Forward Secrecy using `ECDHE`, Diffie-Hellman parameters are -not required and a default ECDHE curve will be used. The `ecdheCurve` property -can be used when creating a TLS Server to specify the name of an -alternative curve to use. +not required and a default ECDHE curve will be used. The `ecdhCurve` property +can be used when creating a TLS Server to specify the name of an alternative +curve to use, see [`tls.createServer()`] for more info. ### ALPN, NPN and SNI