minor: fix typo.

This commit is contained in:
Christopher Jeffrey 2014-07-18 00:47:24 -07:00
parent eb9fd652d2
commit 271ac2e9a5
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ PayPro.prototype.sinVerify = function() {
// Helpers
function PEMtoDER(pem) {
pem = pem.replace(/^-----END [^-]+-----$/gmi/, '');
pem = pem.replace(/^-----END [^-]+-----$/gmi, '');
var parts = pem.split(/-----BEGIN [^-]+-----/);
return parts.map(function(part) {
part = part.replace(/\s+/g, '');