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 436e07b commit d9fc06bCopy full SHA for d9fc06b
doc/api/tls.md
@@ -1477,8 +1477,8 @@ Verifies the certificate `cert` is issued to `hostname`.
1477
Returns {Error} object, populating it with `reason`, `host`, and `cert` on
1478
failure. On success, returns {undefined}.
1479
1480
-This function can be overwritten by providing alternative function as part of
1481
-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
1482
overwriting function can call `tls.checkServerIdentity()` of course, to augment
1483
the checks done with additional verification.
1484
0 commit comments