Skip to content
Browse files

Some corrections to the PFX loading code.

  • Loading branch information...
1 parent d4395a9 commit b793608c198e7a473a326ff8e92e94d4207019d8 @argon committed
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/connection.js
  2. +2 −2 lib/feedback.js
View
2 lib/connection.js
@@ -100,7 +100,7 @@ Connection.prototype.initialize = function () {
this.deferredInitialize.reject(err);
return;
}
- this.pfxData = data.toString();
+ this.pfxData = data;
this.checkInitialized();
}.bind(this));
}
View
4 lib/feedback.js
@@ -96,12 +96,12 @@ Feedback.prototype.initialize = function () {
this.pfxData = this.options.pfxData;
}
else {
- fx.readFile(this.options.pfx, function (err, data) {
+ fs.readFile(this.options.pfx, function (err, data) {
if (err) {
this.deferredInitialize.reject(err);
return;
}
- this.pfxData = data.toString();
+ this.pfxData = data;
this.checkInitialized();
}.bind(this));
}

0 comments on commit b793608

Please sign in to comment.
Something went wrong with that request. Please try again.