minor: fix typo.
This commit is contained in:
parent
eb9fd652d2
commit
271ac2e9a5
|
@ -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, '');
|
||||
|
|
Loading…
Reference in New Issue