This is the correct size
This commit is contained in:
parent
1c7f759798
commit
1e2db5b249
@ -436,7 +436,7 @@ class OpenPGP_SignaturePacket extends OpenPGP_Packet {
|
|||||||
$body .= pack('n', strlen($unhashed_subpackets)).$unhashed_subpackets;
|
$body .= pack('n', strlen($unhashed_subpackets)).$unhashed_subpackets;
|
||||||
|
|
||||||
$body .= pack('n', $this->hash_head);
|
$body .= pack('n', $this->hash_head);
|
||||||
$body .= pack('n', floor((strlen($this->data) - 7)*8)).$this->data;
|
$body .= pack('n', strlen($this->data)*8).$this->data;
|
||||||
|
|
||||||
return $body;
|
return $body;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user