From 4281c8fa97f21f3ce93519bfa18154b809f52889 Mon Sep 17 00:00:00 2001 From: adecaneda Date: Wed, 5 Aug 2015 11:18:28 +0200 Subject: [PATCH] Missing parameter --- lib/openpgp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/openpgp.php b/lib/openpgp.php index b48ebe8..62597f8 100644 --- a/lib/openpgp.php +++ b/lib/openpgp.php @@ -456,7 +456,7 @@ class OpenPGP_Packet { * * @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; $len = ord($input[$header_start + 1]); if($len < 192) { // One octet length