diff options
author | zottel <github@zottel.net> | 2016-07-31 02:14:33 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2016-07-31 02:14:33 +0200 |
commit | b5ea20ac863ebdbc4cc0bad6b7ca9876df336e8f (patch) | |
tree | d09bc96d4f78df033b76513242bbb80ff57240bd /library/asn1.php | |
parent | e5a3179468c84ab78ffa655353bc068508e8cdfd (diff) | |
parent | da9b6690e565452a9a9d69084a07ac48005d7e60 (diff) | |
download | volse-hubzilla-b5ea20ac863ebdbc4cc0bad6b7ca9876df336e8f.tar.gz volse-hubzilla-b5ea20ac863ebdbc4cc0bad6b7ca9876df336e8f.tar.bz2 volse-hubzilla-b5ea20ac863ebdbc4cc0bad6b7ca9876df336e8f.zip |
Merge remote-tracking branch 'upstream/dev' into dev
Diffstat (limited to 'library/asn1.php')
-rw-r--r-- | library/asn1.php | 2 |
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; } |