Skip to content

Commit 00f04e3

Browse files
sparsh-99richardlau
authored andcommitted
doc: fix quotes in tls.md
Added the missing single quotes in minVersion and maxVersion of api/tls doc before TLSv1.2. PR-URL: #33641 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent 7a109fe commit 00f04e3

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
@@ -1416,7 +1416,7 @@ added: v10.6.0
14161416

14171417
* {string} The default value of the `maxVersion` option of
14181418
[`tls.createSecureContext()`][]. It can be assigned any of the supported TLS
1419-
protocol versions, `TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`.
1419+
protocol versions, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`.
14201420
**Default:** `'TLSv1.2'`.
14211421

14221422
## tls.DEFAULT_MIN_VERSION
@@ -1426,7 +1426,7 @@ added: v10.6.0
14261426

14271427
* {string} The default value of the `minVersion` option of
14281428
[`tls.createSecureContext()`][]. It can be assigned any of the supported TLS
1429-
protocol versions, `TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`.
1429+
protocol versions, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`.
14301430
**Default:** `'TLSv1'`, unless changed using CLI options. Using
14311431
`--tls-min-v1.0` sets the default to `'TLSv1'`. Using `--tls-min-v1.1` sets
14321432
the default to `'TLSv1.1'`. Using `--tls-min-v1.2` sets the default to

0 commit comments

Comments
 (0)