aboutsummaryrefslogtreecommitdiffstats
path: root/library/asn1.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-07 16:15:54 -0700
committerFriendika <info@friendika.com>2011-08-07 16:15:54 -0700
commit48ffa880f099b19052f18e399bf6af50780a24b0 (patch)
tree48f5e9b52b425af937b5ae2511aaaf6968e0b666 /library/asn1.php
parentaa3a14ec36db5f9df9d0ec27c607a994451fc845 (diff)
downloadvolse-hubzilla-48ffa880f099b19052f18e399bf6af50780a24b0.tar.gz
volse-hubzilla-48ffa880f099b19052f18e399bf6af50780a24b0.tar.bz2
volse-hubzilla-48ffa880f099b19052f18e399bf6af50780a24b0.zip
cleanup
Diffstat (limited to 'library/asn1.php')
-rw-r--r--library/asn1.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/library/asn1.php b/library/asn1.php
index 713978e8c..e84398bf6 100644
--- 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;
-}
-