File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -180,10 +180,6 @@ automatically set as a listener for the [secureConnection][] event. The
180180 which is not authorized with the list of supplied CAs. This option only
181181 has an effect if ` requestCert ` is ` true ` . Default: ` false ` .
182182
183- - ` checkServerIdentity(servername, cert) ` : Provide an override for checking
184- server's hostname against the certificate. Should return an error if verification
185- fails. Return ` undefined ` if passing.
186-
187183 - ` NPNProtocols ` : An array or ` Buffer ` of possible NPN protocols. (Protocols
188184 should be ordered by their priority).
189185
@@ -316,6 +312,10 @@ Creates a new client connection to the given `port` and `host` (old API) or
316312
317313 - ` servername ` : Servername for SNI (Server Name Indication) TLS extension.
318314
315+ - ` checkServerIdentity(servername, cert) ` : Provide an override for checking
316+ server's hostname against the certificate. Should return an error if verification
317+ fails. Return ` undefined ` if passing.
318+
319319 - ` secureProtocol ` : The SSL method to use, e.g. ` SSLv3_method ` to force
320320 SSL version 3. The possible values depend on your installation of
321321 OpenSSL and are defined in the constant [ SSL_METHODS] [ ] .
You can’t perform that action at this time.
0 commit comments