From: Thomas Roessler Date: Wed, 27 Mar 2002 08:50:42 +0000 (+0000) Subject: There was some output missing. X-Git-Tag: mutt-1-5-1-rel~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c8a9ac45d1e174cd35e92d399dab1de95c71674;p=mutt There was some output missing. --- diff --git a/pgp.c b/pgp.c index 8d86bd95..765d984b 100644 --- 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);