Skip to content

Commit 8966ab3

Browse files
tniessentargos
authored andcommittedNov 26, 2021
doc: improve grammar in API description
PR-URL: #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>
1 parent fa9b5c3 commit 8966ab3

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
@@ -1472,8 +1472,8 @@ Verifies the certificate `cert` is issued to `hostname`.
14721472
Returns {Error} object, populating it with `reason`, `host`, and `cert` on
14731473
failure. On success, returns {undefined}.
14741474

1475-
This function can be overwritten by providing alternative function as part of
1476-
the `options.checkServerIdentity` option passed to `tls.connect()`. The
1475+
This function can be overwritten by providing an alternative function as the
1476+
`options.checkServerIdentity` option that is passed to `tls.connect()`. The
14771477
overwriting function can call `tls.checkServerIdentity()` of course, to augment
14781478
the checks done with additional verification.
14791479

0 commit comments

Comments
 (0)
Please sign in to comment.