We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa9b5c3 commit 8966ab3Copy full SHA for 8966ab3
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