From c285e694e2444d1bee5b5dcb1ea414b7068d04e4 Mon Sep 17 00:00:00 2001 From: Chetan Karande Date: Tue, 23 Jul 2019 20:40:06 -0400 Subject: [PATCH] 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 Reviewed-By: Beth Griggs --- doc/api/cli.md | 2 -- 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 7ecb565066dad8..7563515b9f9b21 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 5c3cebe694ce56..a2532917826a6a 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