File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -792,8 +792,9 @@ changes:
792
792
* ` servername ` : {string} Server name for the SNI (Server Name Indication) TLS
793
793
extension.
794
794
* ` checkServerIdentity(servername, cert) ` {Function} A callback function
795
- to be used when checking the server's hostname against the certificate.
796
- This should throw an error if verification fails. The method should return
795
+ to be used (instead of the builtin ` tls.checkServerIdentity() ` function)
796
+ when checking the server's hostname against the certificate.
797
+ This should return an {Error} if verification fails. The method should return
797
798
` undefined ` if the ` servername ` and ` cert ` are verified.
798
799
* ` session ` {Buffer} A ` Buffer ` instance, containing TLS session.
799
800
* ` minDHSize ` {number} Minimum size of the DH parameter in bits to accept a
You can’t perform that action at this time.
0 commit comments