This won't work (currently) with streams - need the entire string.
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 21 Oct 2009 23:20:34 +0000 (17:20 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 22 Oct 2009 19:20:51 +0000 (13:20 -0600)
imp/lib/Mime/Viewer/Pgp.php

index 3e9a620..fdda41e 100644 (file)
@@ -359,7 +359,7 @@ class IMP_Horde_Mime_Viewer_Pgp extends Horde_Mime_Viewer_Driver
                     break;
 
                 default:
-                    $sig_result = $this->_imppgp->verifySignature($sig_part->replaceEOL($this->_params['contents']->getBodyPart($signed_id, array('mimeheaders' => true, 'stream' => true)), Horde_Mime_Part::RFC_EOL), $this->_address, $sig_part->getContents());
+                    $sig_result = $this->_imppgp->verifySignature($sig_part->replaceEOL($this->_params['contents']->getBodyPart($signed_id, array('mimeheaders' => true)), Horde_Mime_Part::RFC_EOL), $this->_address, $sig_part->getContents());
                     break;
                 }