aboutsummaryrefslogtreecommitdiffstats
path: root/library/asn1.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-28 13:10:19 -0700
committerredmatrix <git@macgirvin.com>2016-07-28 13:10:19 -0700
commit4ce8f965aab8cfb09fc9f102f771cf67a7ee84fa (patch)
tree12b7ebf40d82b388f6fae68180ae464e07854cd2 /library/asn1.php
parent02fc082e45cfaf6b313f40f1107122837019dd32 (diff)
downloadvolse-hubzilla-4ce8f965aab8cfb09fc9f102f771cf67a7ee84fa.tar.gz
volse-hubzilla-4ce8f965aab8cfb09fc9f102f771cf67a7ee84fa.tar.bz2
volse-hubzilla-4ce8f965aab8cfb09fc9f102f771cf67a7ee84fa.zip
issue #466, sql typo
Diffstat (limited to 'library/asn1.php')
-rw-r--r--library/asn1.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/asn1.php b/library/asn1.php
index e84398bf6..6ab8c6210 100644
--- a/library/asn1.php
+++ b/library/asn1.php
@@ -159,7 +159,7 @@ class ASN_BASE {
}
$length = $tempLength;
}
- $data = substr($string, $p, $length);
+ $data = substr($string, $p, intval($length));
$parsed[] = self::parseASNData($type, $data, $level, $maxLevels);
$p = $p + $length;
}