0
0
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:
Ryan Dahl 2010-12-01 11:31:22 -08:00
parent 89e398f075
commit 5dab4be53c

View File

@ -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]);