mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
Remove useless shouldVerify assignments
This commit is contained in:
parent
89e398f075
commit
5dab4be53c
@ -33,7 +33,6 @@ function Credentials (method) {
|
||||
this.context.init();
|
||||
}
|
||||
|
||||
this.shouldVerify = false;
|
||||
}
|
||||
|
||||
exports.Credentials = Credentials;
|
||||
@ -48,7 +47,6 @@ exports.createCredentials = function (options) {
|
||||
if (options.cert) c.context.setCert(options.cert);
|
||||
|
||||
if (options.ca) {
|
||||
c.shouldVerify = true;
|
||||
if (Array.isArray(options.ca)) {
|
||||
for (var i = 0, len = options.ca.length; i < len; i++) {
|
||||
c.context.addCACert(options.ca[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user