From 1d390d2420fbdc9828c81c24a3c659e088d2c1c4 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Wed, 27 Mar 2002 08:50:42 +0000 Subject: [PATCH] There was some output missing. --- pgp.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pgp.c b/pgp.c index 8d86bd950..765d984b9 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); -- 2.40.0