pkgsrc/mail/mutt/patches/patch-ak
tron fa63e1ce17 Repeat after me:
I will not patch multiple files with one patch file.
I will not patch multiple files with one patch file.
I will not patch multiple files with one patch file.
[...]
2004-02-02 07:21:24 +00:00

30 lines
755 B
Text

$NetBSD: patch-ak,v 1.5 2004/02/02 07:21:24 tron Exp $
--- pgp.c.orig Wed Jan 9 16:39:28 2002
+++ pgp.c Sun Feb 1 23:32:50 2004
@@ -55,7 +55,7 @@
char PgpPass[STRING];
-static time_t PgpExptime = 0; /* when does the cached passphrase expire? */
+time_t PgpExptime = 0; /* when does the cached passphrase expire? */
void pgp_void_passphrase (void)
{
@@ -737,14 +737,14 @@
if (pgp_copy_checksig (pgperr, s->fpout) >= 0)
badsig = 0;
-
- safe_fclose (&pgperr);
if ((rv = mutt_wait_filter (thepid)))
badsig = -1;
dprint (1, (debugfile, "pgp_verify_one: mutt_wait_filter returned %d.\n", rv));
}
+
+ safe_fclose (&pgperr);
state_attach_puts (_("[-- End of PGP output --]\n\n"), s);