]> granicus.if.org Git - mutt/commitdiff
Fix #960.
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 9 Jan 2002 15:39:28 +0000 (15:39 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 9 Jan 2002 15:39:28 +0000 (15:39 +0000)
pgp.c

diff --git a/pgp.c b/pgp.c
index cf9fdd0df02be1d219f6d22bcf9fb17fdb41f41d..49fe657ba58e73282c02dac90a8d674a55881041 100644 (file)
--- a/pgp.c
+++ b/pgp.c
@@ -310,7 +310,7 @@ void pgp_application_pgp_handler (BODY *m, STATE *s)
        continue;
       }
 
-      have_any_sigs = have_any_sigs || clearsign;
+      have_any_sigs = have_any_sigs || (clearsign && (s->flags & M_VERIFY));
       
       if(!clearsign || s->flags & M_VERIFY)
       {