From 0587391182445e34a04fc84d7e4400de98d45fc5 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 21 Oct 2009 17:20:34 -0600 Subject: [PATCH] This won't work (currently) with streams - need the entire string. --- imp/lib/Mime/Viewer/Pgp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/lib/Mime/Viewer/Pgp.php b/imp/lib/Mime/Viewer/Pgp.php index 3e9a620c8..fdda41ecd 100644 --- a/imp/lib/Mime/Viewer/Pgp.php +++ b/imp/lib/Mime/Viewer/Pgp.php @@ -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; } -- 2.11.0