summaryrefslogtreecommitdiff
path: root/lib/tls.js
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/tls.js
parent66f64ae072271ef36e9f684a965f1fc410d86ebc (diff)
downloadnodejs-2f03eaf76f8993a99343c4d975944e1635e6d98e.tar.gz
nodejs-2f03eaf76f8993a99343c4d975944e1635e6d98e.tar.bz2
nodejs-2f03eaf76f8993a99343c4d975944e1635e6d98e.zip
doc: tls: rejectUnauthorized defaults to true after 35607f3a
Diffstat (limited to 'lib/tls.js')
-rw-r--r--lib/tls.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tls.js b/lib/tls.js
index 6966a2813..7894c27e2 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.