]> granicus.if.org Git - mutt/commitdiff
There was some output missing.
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 27 Mar 2002 08:50:42 +0000 (08:50 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 27 Mar 2002 08:50:42 +0000 (08:50 +0000)
pgp.c

diff --git a/pgp.c b/pgp.c
index 8d86bd950f19856493b22fb2c691b9cae7ecd531..765d984b924769e185c91d0137ec2bc5466dc29a 100644 (file)
--- a/pgp.c
+++ b/pgp.c
@@ -332,6 +332,7 @@ void pgp_application_pgp_handler (BODY *m, STATE *s)
          }
        }
       }
+      
 
       /*
        * Now, copy cleartext to the screen.  NOTE - we expect that PGP
@@ -339,6 +340,16 @@ void pgp_application_pgp_handler (BODY *m, STATE *s)
        * seems to be a reasonable guess.
        */
 
+      if(s->flags & M_DISPLAY)
+      {
+       if (needpass)
+         state_attach_puts (_("[-- BEGIN PGP MESSAGE --]\n\n"), s);
+       else if (pgp_keyblock)
+         state_attach_puts (_("[-- BEGIN PGP PUBLIC KEY BLOCK --]\n"), s);
+       else
+         state_attach_puts (_("[-- BEGIN PGP SIGNED MESSAGE --]\n\n"), s);
+      }
+
       if (clearsign)
       {
        rewind (tmpfp);