Skip to content

Commit c285e69

Browse files
ckarandeBethGriggs
authored andcommitted
doc: fix the links tls default version sections
PR-URL: #28827 Fixes: #28758 Refs: #26821 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Beth Griggs <[email protected]>
1 parent cef5010 commit c285e69

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

doc/api/cli.md

-2
Original file line numberDiff line numberDiff line change
@@ -773,8 +773,6 @@ greater than `4` (its current default value). For more information, see the
773773
[`Buffer`]: buffer.html#buffer_class_buffer
774774
[`SlowBuffer`]: buffer.html#buffer_class_slowbuffer
775775
[`process.setUncaughtExceptionCaptureCallback()`]: process.html#process_process_setuncaughtexceptioncapturecallback_fn
776-
[`tls.DEFAULT_MAX_VERSION`]: tls.html#tls_tls_default_max_version
777-
[`tls.DEFAULT_MIN_VERSION`]: tls.html#tls_tls_default_min_version
778776
[Chrome DevTools Protocol]: https://chromedevtools.github.io/devtools-protocol/
779777
[REPL]: repl.html
780778
[ScriptCoverage]: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#type-ScriptCoverage

doc/api/tls.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,8 @@ changes:
11981198
`object.passphrase` if provided, or `options.passphrase` if it is not.
11991199
* `maxVersion` {string} Optionally set the maximum TLS version to allow. One
12001200
of `TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the
1201-
`secureProtocol` option, use one or the other. **Default:** [`tls.DEFAULT_MAX_VERSION`][].
1201+
`secureProtocol` option, use one or the other.
1202+
**Default:** [`tls.DEFAULT_MAX_VERSION`][].
12021203
* `minVersion` {string} Optionally set the minimum TLS version to allow. One
12031204
of `TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the
12041205
`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`.
15051506
[`server.setTicketKeys()`]: #tls_server_setticketkeys_keys
15061507
[`socket.setTimeout(timeout)`]: #net_socket_settimeout_timeout_callback
15071508
[`tls.DEFAULT_ECDH_CURVE`]: #tls_tls_default_ecdh_curve
1509+
[`tls.DEFAULT_MAX_VERSION`]: #tls_tls_default_max_version
1510+
[`tls.DEFAULT_MIN_VERSION`]: #tls_tls_default_min_version
15081511
[`tls.Server`]: #tls_class_tls_server
15091512
[`tls.TLSSocket.getPeerCertificate()`]: #tls_tlssocket_getpeercertificate_detailed
15101513
[`tls.TLSSocket.getSession()`]: #tls_tlssocket_getsession

0 commit comments

Comments
 (0)