Missing parameter

This commit is contained in:
adecaneda 2015-08-05 11:18:28 +02:00
parent 01a1f00edb
commit 4281c8fa97
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ class OpenPGP_Packet {
* *
* @see http://tools.ietf.org/html/rfc4880#section-4.2.2 * @see http://tools.ietf.org/html/rfc4880#section-4.2.2
*/ */
static function parse_new_format($input) { static function parse_new_format($input, $header_start = 0) {
$tag = ord($input[0]) & 63; $tag = ord($input[0]) & 63;
$len = ord($input[$header_start + 1]); $len = ord($input[$header_start + 1]);
if($len < 192) { // One octet length if($len < 192) { // One octet length