summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2019-10-04 04:07:49 +0200
committerTobias Nießen <tniessen@tnie.de>2019-10-10 15:03:00 +0200
commit36e83ef8f3d759ffde36a3decada0864cc8ac8ac (patch)
treed904349e0fc4956fe0350847954bed8cef89bbfe /doc
parent9f873b3a659e82eb232785c9e7cfec6df8dd5277 (diff)
downloadandroid-node-v8-36e83ef8f3d759ffde36a3decada0864cc8ac8ac.tar.gz
android-node-v8-36e83ef8f3d759ffde36a3decada0864cc8ac8ac.tar.bz2
android-node-v8-36e83ef8f3d759ffde36a3decada0864cc8ac8ac.zip
doc: fix tls version values
PR-URL: https://github.com/nodejs/node/pull/29839 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc')
-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 d90affa4c3..f6a7f3a21e 100644
--- a/doc/api/tls.md
+++ b/doc/api/tls.md
@@ -1473,11 +1473,11 @@ changes:
Should not be set together with `key`, because both options define a
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
+ of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified
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
+ 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
interoperability.
@@ -1675,7 +1675,7 @@ added: v11.4.0
* {string} The default value of the `maxVersion` option of
[`tls.createSecureContext()`][]. It can be assigned any of the supported TLS
- protocol versions, `TLSv1.3`, `TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`.
+ protocol versions, `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`.
**Default:** `'TLSv1.3'`, unless changed using CLI options. Using
`--tls-max-v1.2` sets the default to `'TLSv1.2`'. Using `--tls-max-v1.3` sets
the default to `'TLSv1.3'`. If multiple of the options are provided, the