diff options
author | Tobias Nießen <tniessen@users.noreply.github.com> | 2021-11-26 11:58:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-26 11:58:32 +0300 |
commit | 230bce8e86c66751356b1469e0f918788dbff602 (patch) | |
tree | 084454fa5042ccd4583365cc2fd6581e9074c69e /doc/api/tls.md | |
parent | 1cea3918af6c8d5c0e4ab6b1604ccbbcc6442548 (diff) |
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>
Diffstat (limited to 'doc/api/tls.md')
-rw-r--r-- | doc/api/tls.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/tls.md b/doc/api/tls.md index 11ed3260527..50cce2c83c9 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1472,8 +1472,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. |