tls: `checkServerIdentity` option
authorTrevor Livingston <trlivingston@paypal.com>
Fri, 5 Sep 2014 14:56:55 +0000 (09:56 -0500)
committerFedor Indutny <fedor@indutny.com>
Tue, 9 Sep 2014 16:15:50 +0000 (17:15 +0100)
commitbf5e2f246eff55dfc33318f0ffb4572a56f7645a
tree5ce9e5c929e4e2f1b698101596c74e7b90a30666
parent06526a2a93794a973b01514ce43fcd40b911e143
tls: `checkServerIdentity` option

Allow overriding `checkServerIdentity` function, when connecting to a
TLS server.

Reviewed-By: Fedor Indutny <fedor@indutny.com>
doc/api/tls.markdown
lib/_tls_wrap.js
test/simple/test-https-client-checkServerIdentity.js [new file with mode: 0644]