aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
Diffstat (limited to 'library')
-rw-r--r--library/ASNValue.class.php3
-rw-r--r--library/asn1.php7
2 files changed, 0 insertions, 10 deletions
diff --git a/library/ASNValue.class.php b/library/ASNValue.class.php
index 8a6aced97..7a3c5d20e 100644
--- a/library/ASNValue.class.php
+++ b/library/ASNValue.class.php
@@ -167,6 +167,3 @@ class ASNValue
return $result;
}
}
-
-
-?>
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;
-}
-