We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cea391 commit 230bce8Copy full SHA for 230bce8
doc/api/tls.md
@@ -1472,8 +1472,8 @@ Verifies the certificate `cert` is issued to `hostname`.
1472
Returns {Error} object, populating it with `reason`, `host`, and `cert` on
1473
failure. On success, returns {undefined}.
1474
1475
-This function can be overwritten by providing alternative function as part of
1476
-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
1477
overwriting function can call `tls.checkServerIdentity()` of course, to augment
1478
the checks done with additional verification.
1479
0 commit comments