Skip to content

Commit 7b924f1

Browse files
committed
doc: fix typo in ecdhCurve, a tls property name
Addresses comment after PR nodejs#6933 merged. nodejs#6933 (review) PR-URL: nodejs#10345 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Italo A. Casas <me@italoacasas.com>
1 parent 1081f0f commit 7b924f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/tls.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ openssl dhparam -outform PEM -out dhparam.pem 2048
9898
```
9999

100100
If using Perfect Forward Secrecy using `ECDHE`, Diffie-Hellman parameters are
101-
not required and a default ECDHE curve will be used. The `ecdheCurve` property
102-
can be used when creating a TLS Server to specify the name of an
103-
alternative curve to use.
101+
not required and a default ECDHE curve will be used. The `ecdhCurve` property
102+
can be used when creating a TLS Server to specify the name of an alternative
103+
curve to use, see [`tls.createServer()`] for more info.
104104

105105
### ALPN, NPN and SNI
106106

0 commit comments

Comments
 (0)