Skip to content

Commit

Permalink
fix: fix variable typo for paypro.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Jul 21, 2014
1 parent d6c32b4 commit 6db7923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PayPro.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ PayPro.prototype.sign = function(key) {
var pki_data = this.get('pki_data'); // contains one or more x509 certs
//var details = this.get('serialized_payment_details');
var type = pki_type.split('+').toUpperCase();
var verifier = crypto.createSign('RSA-' + type);
var signature = crypto.createSign('RSA-' + type);
var buf = this.serializeForSig();
signature.update(buf);
//var pki_data = require('fs').readFileSync(__dirname + '/../test/data/x509.pem');
Expand Down

0 comments on commit 6db7923

Please sign in to comment.