This is the correct size

This commit is contained in:
Stephen Paul Weber 2010-04-01 09:22:08 -05:00
parent 1c7f759798
commit 1e2db5b249
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ class OpenPGP_SignaturePacket extends OpenPGP_Packet {
$body .= pack('n', strlen($unhashed_subpackets)).$unhashed_subpackets;
$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;
}