From: Thomas Roessler Date: Thu, 13 Feb 2003 09:50:00 +0000 (+0000) Subject: Fix #1444, Debian #178563. The details of this problem were tracked X-Git-Tag: mutt-1-5-4-rel~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04dcbb03d437bcd3fe34e18dcedf8a9cfa1b3100;p=mutt Fix #1444, Debian #178563. The details of this problem were tracked down by Steven Barker . --- diff --git a/pgp.c b/pgp.c index 1af91c23..b0ccd6e0 100644 --- a/pgp.c +++ b/pgp.c @@ -319,20 +319,20 @@ void pgp_application_pgp_handler (BODY *m, STATE *s) safe_fclose (&pgpin); - rv = mutt_wait_filter (thepid); - if (s->flags & M_DISPLAY) { crypt_current_time (s, "PGP"); rc = pgp_copy_checksig (pgperr, s->fpout); - if (rc == 0) have_any_sigs = 1; - if (rc || rv) maybe_goodsig = 0; } safe_fclose (&pgperr); + rv = mutt_wait_filter (thepid); if (s->flags & M_DISPLAY) { + if (rc == 0) have_any_sigs = 1; + if (rc || rv) maybe_goodsig = 0; + state_putc ('\n', s); state_attach_puts (_("[-- End of PGP output --]\n\n"), s); }