]> granicus.if.org Git - mutt/commitdiff
Only display PGP signature verification status if verification was
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 13 Jun 2000 09:09:59 +0000 (09:09 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 13 Jun 2000 09:09:59 +0000 (09:09 +0000)
tried.

commands.c

index d32e46474ebb2f677364774ea362e9fe549dda42..c8264f4dc2e5714b7f56b739dcef5e094c969372 100644 (file)
@@ -143,7 +143,7 @@ int mutt_display_message (HEADER *cur)
     pager_t info;
 
 #ifdef HAVE_PGP
-    if (cur->pgp)
+    if (cmflags & M_CM_VERIFY)
       mutt_message ((cur->pgp & PGPGOODSIGN) ?
                    _("PGP signature successfully verified.") :
                    _("PGP signature could NOT be verified."));