Type byte is part of body
This commit is contained in:
parent
97ad2cf72d
commit
5f6a93daca
@ -414,12 +414,12 @@ class OpenPGP_SignaturePacket extends OpenPGP_Packet {
|
||||
if($class) {
|
||||
$packet = new $class();
|
||||
$packet->tag = $tag;
|
||||
$packet->input = substr($input, 1, $len);
|
||||
$packet->length = $len;
|
||||
$packet->input = substr($input, 1, $len-1);
|
||||
$packet->length = $len-1;
|
||||
$packet->read();
|
||||
unset($packet->input);
|
||||
}
|
||||
$input = substr($input, $len+1); // Chop off the data from this packet
|
||||
$input = substr($input, $len); // Chop off the data from this packet
|
||||
return $packet;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user