Skip to content

Commit f58fe50

Browse files
tniessentargos
authored andcommitted
doc: fix tls version values
PR-URL: #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>
1 parent 3f3c41c commit f58fe50

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/tls.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1473,11 +1473,11 @@ changes:
14731473
Should not be set together with `key`, because both options define a
14741474
private key in different ways.
14751475
* `maxVersion` {string} Optionally set the maximum TLS version to allow. One
1476-
of `TLSv1.3`, `TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified
1476+
of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified
14771477
along with the `secureProtocol` option, use one or the other.
14781478
**Default:** [`tls.DEFAULT_MAX_VERSION`][].
14791479
* `minVersion` {string} Optionally set the minimum TLS version to allow. One
1480-
of `TLSv1.3`, `TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified
1480+
of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified
14811481
along with the `secureProtocol` option, use one or the other. It is not
14821482
recommended to use less than TLSv1.2, but it may be required for
14831483
interoperability.
@@ -1675,7 +1675,7 @@ added: v11.4.0
16751675

16761676
* {string} The default value of the `maxVersion` option of
16771677
[`tls.createSecureContext()`][]. It can be assigned any of the supported TLS
1678-
protocol versions, `TLSv1.3`, `TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`.
1678+
protocol versions, `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`.
16791679
**Default:** `'TLSv1.3'`, unless changed using CLI options. Using
16801680
`--tls-max-v1.2` sets the default to `'TLSv1.2`'. Using `--tls-max-v1.3` sets
16811681
the default to `'TLSv1.3'`. If multiple of the options are provided, the

0 commit comments

Comments
 (0)