doc: fix 'dhparam' description of tls.createServer

fixes #958

Fixes: https://github.com/iojs/io.js/issues/958
PR-URL: https://github.com/iojs/io.js/pull/968
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
pull/968/merge
silverwind 2015-02-26 15:36:41 +01:00 committed by Shigeki Ohtsu
parent b2a0d8f65e
commit c5050d8e4d
1 changed files with 4 additions and 3 deletions

View File

@ -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.