diff options
Diffstat (limited to 'library')
-rw-r--r-- | library/asn1.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/asn1.php b/library/asn1.php index 132b03248..713978e8c 100644 --- a/library/asn1.php +++ b/library/asn1.php @@ -186,7 +186,7 @@ class ASN_BASE { case ASN_BOOLEAN: return new ASN_BOOLEAN((bool)$data); case ASN_INTEGER: - return new ASN_INTEGER(strtr(base64_encode($data),'+/=','-_,')); + return new ASN_INTEGER(strtr(base64_encode($data),'+/','-_')); // return new ASN_INTEGER(ord($data)); case ASN_BIT_STR: return new ASN_BIT_STR(self::parseASNString($data, $level+1, $maxLevels)); |