diff options
author | Chetan Karande <kchetan.tech@gmail.com> | 2019-07-24 03:40:06 +0300 |
---|---|---|
committer | Beth Griggs <Bethany.Griggs@uk.ibm.com> | 2019-10-07 19:32:25 +0300 |
commit | c285e694e2444d1bee5b5dcb1ea414b7068d04e4 (patch) | |
tree | 5f4219902e052414bd21872a31b31c94875f4a59 | |
parent | cef501013541476dff0cc0b5e153627da7f0af48 (diff) |
doc: fix the links tls default version sections
PR-URL: https://github.com/nodejs/node/pull/28827
Fixes: https://github.com/nodejs/node/issues/28758
Refs: https://github.com/nodejs/node/pull/26821
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
-rw-r--r-- | doc/api/cli.md | 2 | ||||
-rw-r--r-- | doc/api/tls.md | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md index 7ecb565066d..7563515b9f9 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -773,8 +773,6 @@ greater than `4` (its current default value). For more information, see the [`Buffer`]: buffer.html#buffer_class_buffer [`SlowBuffer`]: buffer.html#buffer_class_slowbuffer [`process.setUncaughtExceptionCaptureCallback()`]: process.html#process_process_setuncaughtexceptioncapturecallback_fn -[`tls.DEFAULT_MAX_VERSION`]: tls.html#tls_tls_default_max_version -[`tls.DEFAULT_MIN_VERSION`]: tls.html#tls_tls_default_min_version [Chrome DevTools Protocol]: https://chromedevtools.github.io/devtools-protocol/ [REPL]: repl.html [ScriptCoverage]: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#type-ScriptCoverage diff --git a/doc/api/tls.md b/doc/api/tls.md index 5c3cebe694c..a2532917826 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1198,7 +1198,8 @@ changes: `object.passphrase` if provided, or `options.passphrase` if it is not. * `maxVersion` {string} Optionally set the maximum TLS version to allow. One of `TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the - `secureProtocol` option, use one or the other. **Default:** [`tls.DEFAULT_MAX_VERSION`][]. + `secureProtocol` option, use one or the other. + **Default:** [`tls.DEFAULT_MAX_VERSION`][]. * `minVersion` {string} Optionally set the minimum TLS version to allow. One of `TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the `secureProtocol` option, use one or the other. It is not recommended to use @@ -1505,6 +1506,8 @@ where `secureSocket` has the same API as `pair.cleartext`. [`server.setTicketKeys()`]: #tls_server_setticketkeys_keys [`socket.setTimeout(timeout)`]: #net_socket_settimeout_timeout_callback [`tls.DEFAULT_ECDH_CURVE`]: #tls_tls_default_ecdh_curve +[`tls.DEFAULT_MAX_VERSION`]: #tls_tls_default_max_version +[`tls.DEFAULT_MIN_VERSION`]: #tls_tls_default_min_version [`tls.Server`]: #tls_class_tls_server [`tls.TLSSocket.getPeerCertificate()`]: #tls_tlssocket_getpeercertificate_detailed [`tls.TLSSocket.getSession()`]: #tls_tlssocket_getsession |