aboutsummaryrefslogtreecommitdiffstats
path: root/library/asn1.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-07-31 07:38:44 -0400
committerAndrew Manning <tamanning@zoho.com>2016-07-31 07:38:44 -0400
commit42b718b3e0fcd44c734a3faf385b29d05c614fe3 (patch)
tree2da9feeccd41afe24ac6c73c3ce88e2df43ac9ef /library/asn1.php
parent1e3a645abedcd77c10a855f1e821dfe7fc072aeb (diff)
parentda9b6690e565452a9a9d69084a07ac48005d7e60 (diff)
downloadvolse-hubzilla-42b718b3e0fcd44c734a3faf385b29d05c614fe3.tar.gz
volse-hubzilla-42b718b3e0fcd44c734a3faf385b29d05c614fe3.tar.bz2
volse-hubzilla-42b718b3e0fcd44c734a3faf385b29d05c614fe3.zip
Merge remote-tracking branch 'upstream/dev' into website-import
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;
}