summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.