mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
doc: improve grammar in API description
PR-URL: https://github.com/nodejs/node/pull/40959 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
436e07b36e
commit
d9fc06b158
1 file changed
+2
-2
+2
-2
@@ -1477,8 +1477,8 @@ Verifies the certificate `cert` is issued to `hostname`.
|
||||
Returns {Error} object, populating it with `reason`, `host`, and `cert` on
|
||||
failure. On success, returns {undefined}.
|
||||
|
||||
This function can be overwritten by providing alternative function as part of
|
||||
the `options.checkServerIdentity` option passed to `tls.connect()`. The
|
||||
This function can be overwritten by providing an alternative function as the
|
||||
`options.checkServerIdentity` option that is passed to `tls.connect()`. The
|
||||
overwriting function can call `tls.checkServerIdentity()` of course, to augment
|
||||
the checks done with additional verification.
|
||||
|
||||
|
||||
Reference in new issue
Block a user