Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2021-04-11 17:38:14 +0300
committerJames M Snell <jasnell@gmail.com>2021-04-15 02:29:27 +0300
commitb4363f726c61a370feefb13f17c8f671764f3d0f (patch)
tree0c94e1d8f4c285fad00ca5ae0995600bf351a054 /doc/api/tls.md
parent18c9913ce18135953ef1ac02ded8604de9f42e2c (diff)
doc: revise TLS minVersion/maxVersion text
Minor changes mostly to improve compliance with our style guide. PR-URL: https://github.com/nodejs/node/pull/38202 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/tls.md')
-rw-r--r--doc/api/tls.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/tls.md b/doc/api/tls.md
index d1f07363c98..0b8795661b1 100644
--- a/doc/api/tls.md
+++ b/doc/api/tls.md
@@ -1738,12 +1738,12 @@ changes:
private key in different ways.
* `maxVersion` {string} Optionally set the maximum TLS version to allow. One
of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified
- along with the `secureProtocol` option, use one or the other.
+ along with the `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.3'`, `'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 less than TLSv1.2, but it may be required for
+ along with the `secureProtocol` option; use one or the other. Avoid
+ setting to less than TLSv1.2, but it may be required for
interoperability.
**Default:** [`tls.DEFAULT_MIN_VERSION`][].
* `passphrase` {string} Shared passphrase used for a single private key and/or