We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1630ba commit d0c551cCopy full SHA for d0c551c
lib/socket.js
@@ -86,12 +86,12 @@ function Socket (uri, opts) {
86
}
87
88
// SSL options for Node.js client
89
- this.pfx = opts.pfx || null;
90
- this.key = opts.key || null;
91
- this.passphrase = opts.passphrase || null;
92
- this.cert = opts.cert || null;
93
- this.ca = opts.ca || null;
94
- this.ciphers = opts.ciphers || null;
+ this.pfx = opts.pfx || undefined;
+ this.key = opts.key || undefined;
+ this.passphrase = opts.passphrase || undefined;
+ this.cert = opts.cert || undefined;
+ this.ca = opts.ca || undefined;
+ this.ciphers = opts.ciphers || undefined;
95
this.rejectUnauthorized = opts.rejectUnauthorized === undefined ? true : opts.rejectUnauthorized;
96
this.forceNode = !!opts.forceNode;
97
0 commit comments