Skip to content

Commit 14bf79c

Browse files
committed
fix: fix variable typo for paypro.
1 parent e4c4101 commit 14bf79c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/PayPro.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ PayPro.prototype.sign = function(key) {
214214
var pki_data = this.get('pki_data'); // contains one or more x509 certs
215215
//var details = this.get('serialized_payment_details');
216216
var type = pki_type.split('+').toUpperCase();
217-
var verifier = crypto.createSign('RSA-' + type);
217+
var signature = crypto.createSign('RSA-' + type);
218218
var buf = this.serializeForSig();
219219
signature.update(buf);
220220
//var pki_data = require('fs').readFileSync(__dirname + '/../test/data/x509.pem');

0 commit comments

Comments
 (0)