summaryrefslogtreecommitdiffstats
path: root/commands.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-06-08 09:28:16 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-06-08 09:28:16 +0000
commitc53abe40f5e1efc4272262a9ee5689577897d045 (patch)
treeff03b496efa54cdabf53663e655aff5fd27e40db /commands.c
parentc9b1eb66b8f4263b780f0e60f04e7cacaee1914b (diff)
- Add a $weed option.
- Add out-of-band reporting of signature status.
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/commands.c b/commands.c
index d0daac87..86592db2 100644
--- a/commands.c
+++ b/commands.c
@@ -73,7 +73,6 @@ int mutt_display_message (HEADER *cur)
mutt_parse_mime_message (Context, cur);
-
#ifdef _PGPPATH
/* see if PGP is needed for this message. if so, we should exit curses */
if (cur->pgp)
@@ -100,10 +99,6 @@ int mutt_display_message (HEADER *cur)
-
-
-
-
mutt_mktemp (tempfile);
if ((fpout = safe_fopen (tempfile, "w")) == NULL)
{
@@ -135,10 +130,18 @@ int mutt_display_message (HEADER *cur)
return (0);
}
+#ifdef _PGPPATH
+ /* update PGP information for this message */
+ cur->pgp |= pgp_query (cur->content);
+#endif
+
if (builtin)
{
pager_t info;
-
+
+ if (cur->pgp & PGPGOODSIGN)
+ mutt_message _("PGP signature successfully verified.");
+
/* Invoke the builtin pager */
memset (&info, 0, sizeof (pager_t));
info.hdr = cur;