Skip to content

Commit

Permalink
doc: fix 'dhparam' description of tls.createServer
Browse files Browse the repository at this point in the history
fixes #958

Fixes: #958
PR-URL: #968
Reviewed-By: Shigeki Ohtsu <[email protected]>
  • Loading branch information
silverwind authored and Shigeki Ohtsu committed Feb 26, 2015
1 parent b2a0d8f commit c5050d8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/api/tls.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,10 @@ automatically set as a listener for the [secureConnection][] event. The

Defaults to `prime256v1`. Consult [RFC 4492] for more details.

- `dhparam`: DH parameter file to use for DHE key agreement. Use
`openssl dhparam` command to create it. If the file is invalid to
load, it is silently discarded.
- `dhparam`: A string or `Buffer` containing Diffie Hellman parameters,
required for Perfect Forward Secrecy. Use `openssl dhparam` to create it.
If omitted or invalid, it is silently discarded and DHE ciphers won't be
available.

- `handshakeTimeout`: Abort the connection if the SSL/TLS handshake does not
finish in this many milliseconds. The default is 120 seconds.
Expand Down

1 comment on commit c5050d8

@indutny
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay!

Please sign in to comment.