Skip to content

Commit 8966ab3

Browse files
tniessentargos
authored andcommitted
doc: improve grammar in API description
PR-URL: #40959 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
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)