Skip to content

Commit 4098514

Browse files
nanocloudxFishrock123
authored andcommitted
doc: fix typo in doc/tls.md
fix doc/tls.md: line 762 836 1026 e.g., => e.g. Fixes: nodejs/code-and-learn#58 PR-URL: #9566 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
1 parent ebc9c4b commit 4098514

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/tls.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ added: v0.11.3
759759
to be used when checking the server's hostname against the certificate.
760760
This should throw an error if verification fails. The method should return
761761
`undefined` if the `servername` and `cert` are verified.
762-
* `secureProtocol` {string} The SSL method to use, e.g., `SSLv3_method` to
762+
* `secureProtocol` {string} The SSL method to use, e.g. `SSLv3_method` to
763763
force SSL version 3. The possible values depend on the version of OpenSSL
764764
installed in the environment and are defined in the constant
765765
[SSL_METHODS][].
@@ -833,7 +833,7 @@ added: v0.11.3
833833
to be used when checking the server's hostname against the certificate.
834834
This should throw an error if verification fails. The method should return
835835
`undefined` if the `servername` and `cert` are verified.
836-
* `secureProtocol` {string} The SSL method to use, e.g., `SSLv3_method` to
836+
* `secureProtocol` {string} The SSL method to use, e.g. `SSLv3_method` to
837837
force SSL version 3. The possible values depend on the version of OpenSSL
838838
installed in the environment and are defined in the constant
839839
[SSL_METHODS][].
@@ -1023,7 +1023,7 @@ added: v0.3.2
10231023
session resumption. If `requestCert` is `true`, the default is a 128 bit
10241024
truncated SHA1 hash value generated from the command-line. Otherwise, a
10251025
default is not provided.
1026-
* `secureProtocol` {string} The SSL method to use, e.g., `SSLv3_method` to
1026+
* `secureProtocol` {string} The SSL method to use, e.g. `SSLv3_method` to
10271027
force SSL version 3. The possible values depend on the version of OpenSSL
10281028
installed in the environment and are defined in the constant
10291029
[SSL_METHODS][].

0 commit comments

Comments
 (0)