From 1e2db5b249a8fe9f531d26c11222816531c9d2cd Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Thu, 1 Apr 2010 09:22:08 -0500 Subject: [PATCH] This is the correct size --- lib/openpgp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/openpgp.php b/lib/openpgp.php index 84f4fd6..7abab01 100644 --- a/lib/openpgp.php +++ b/lib/openpgp.php @@ -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; }