]> git.mxchange.org Git - friendica.git/blobdiff - library/asn1.php
Merge branch 'master' of https://github.com/friendica/friendica
[friendica.git] / library / asn1.php
index 713978e8c19f8dc7c08b7a4834715c333700ce18..e84398bf6207e2ff67aebe363cc34b742902b63c 100644 (file)
@@ -187,7 +187,6 @@ class ASN_BASE {
                                return new ASN_BOOLEAN((bool)$data);
                        case ASN_INTEGER:
                                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));
                        case ASN_OCTET_STR:
@@ -290,9 +289,3 @@ class ASN_BASE {
        
 }
 
-
-function accum($s) {
-       $result = strtr(base64_encode($s),'+/=','-_,');
-    return $result;
-}
-