]> granicus.if.org Git - mutt/commitdiff
Don't bother the user with messages about PGP signature verification
authorThomas Roessler <roessler@does-not-exist.org>
Sun, 28 May 2000 20:32:05 +0000 (20:32 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Sun, 28 May 2000 20:32:05 +0000 (20:32 +0000)
when there is no PGP stuff about the message.

commands.c

index 35ee03d15b00841657965f35fd847212ecc99059..d32e46474ebb2f677364774ea362e9fe549dda42 100644 (file)
@@ -143,9 +143,10 @@ int mutt_display_message (HEADER *cur)
     pager_t info;
 
 #ifdef HAVE_PGP
-    mutt_message ((cur->pgp & PGPGOODSIGN) ?
-                 _("PGP signature successfully verified.") :
-                 _("PGP signature could NOT be verified."));
+    if (cur->pgp)
+      mutt_message ((cur->pgp & PGPGOODSIGN) ?
+                   _("PGP signature successfully verified.") :
+                   _("PGP signature could NOT be verified."));
 #endif
 
     /* Invoke the builtin pager */