Skip to content

Commit

Permalink
Missing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
adecaneda committed Aug 5, 2015
1 parent 01a1f00 commit 4281c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/openpgp.php
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ static function parse(&$input) {
*
* @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
Expand Down

0 comments on commit 4281c8f

Please sign in to comment.