X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=library%2Fasn1.php;h=e84398bf6207e2ff67aebe363cc34b742902b63c;hb=685686b3e81e53264b4946f54904e8f5323da2ea;hp=713978e8c19f8dc7c08b7a4834715c333700ce18;hpb=5edee3c4d1f84c07c1c54775072601188075a542;p=friendica.git diff --git a/library/asn1.php b/library/asn1.php old mode 100644 new mode 100755 index 713978e8c1..e84398bf62 --- a/library/asn1.php +++ b/library/asn1.php @@ -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; -} -