Skip to content

Commit d9b5508

Browse files
akitsu-sanaetargos
authored andcommitted
doc: fix tls version typo
PR-URL: #29984 Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 02f6e5c commit d9b5508

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/tls.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1677,7 +1677,7 @@ added: v11.4.0
16771677
[`tls.createSecureContext()`][]. It can be assigned any of the supported TLS
16781678
protocol versions, `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`.
16791679
**Default:** `'TLSv1.3'`, unless changed using CLI options. Using
1680-
`--tls-max-v1.2` sets the default to `'TLSv1.2`'. Using `--tls-max-v1.3` sets
1680+
`--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
16821682
highest maximum is used.
16831683

@@ -1688,7 +1688,7 @@ added: v11.4.0
16881688

16891689
* {string} The default value of the `minVersion` option of
16901690
[`tls.createSecureContext()`][]. It can be assigned any of the supported TLS
1691-
protocol versions, `'TLSv1.3'`, `TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`.
1691+
protocol versions, `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`.
16921692
**Default:** `'TLSv1.2'`, unless changed using CLI options. Using
16931693
`--tls-min-v1.0` sets the default to `'TLSv1'`. Using `--tls-min-v1.1` sets
16941694
the default to `'TLSv1.1'`. Using `--tls-min-v1.3` sets the default to

0 commit comments

Comments
 (0)