From c533db4f4267f2b36ac38e20f6441d8b6d516282 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Thu, 24 Jul 2014 17:51:22 -0700 Subject: [PATCH] minor: remove redundant toUpperCase calls. --- lib/browser/PayPro.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/browser/PayPro.js b/lib/browser/PayPro.js index 16b23cb..b9ab061 100644 --- a/lib/browser/PayPro.js +++ b/lib/browser/PayPro.js @@ -38,7 +38,7 @@ PayPro.prototype.x509Sign = function(key) { key = rsa; var jsrsaSig = new KJUR.crypto.Signature({ - alg: type.toUpperCase() + 'withRSA', + alg: type + 'withRSA', prov: 'cryptojs/jsrsa' }); @@ -60,7 +60,7 @@ PayPro.prototype.x509Verify = function(key) { var type = pki_type.split('+')[1].toUpperCase(); var jsrsaSig = new KJUR.crypto.Signature({ - alg: type.toUpperCase() + 'withRSA', + alg: type + 'withRSA', prov: 'cryptojs/jsrsa' });