summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGirish Ramakrishnan <girish@forwardbias.in>2012-11-01 01:29:33 -0700
committerBen Noordhuis <info@bnoordhuis.nl>2012-11-01 16:16:27 +0100
commit2f03eaf76f8993a99343c4d975944e1635e6d98e (patch)
tree0cd85c2e1565e4446f4f87e3f0f1cf01ba92ba71 /lib
parent66f64ae072271ef36e9f684a965f1fc410d86ebc (diff)
downloadandroid-node-v8-2f03eaf76f8993a99343c4d975944e1635e6d98e.tar.gz
android-node-v8-2f03eaf76f8993a99343c4d975944e1635e6d98e.tar.bz2
android-node-v8-2f03eaf76f8993a99343c4d975944e1635e6d98e.zip
doc: tls: rejectUnauthorized defaults to true after 35607f3a
Diffstat (limited to 'lib')
-rw-r--r--lib/tls.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tls.js b/lib/tls.js
index 6966a28133..7894c27e20 100644
--- a/lib/tls.js
+++ b/lib/tls.js
@@ -1043,13 +1043,13 @@ SecurePair.prototype.error = function() {
// If true clients whose certificates are invalid for any reason will not
// be allowed to make connections. If false, they will simply be marked as
// unauthorized but secure communication will continue. By default this is
-// false.
+// true.
//
//
//
// Options:
// - requestCert. Send verify request. Default to false.
-// - rejectUnauthorized. Boolean, default to false.
+// - rejectUnauthorized. Boolean, default to true.
// - key. string.
// - cert: string.
// - ca: string or array of strings.