blob: f7cc520fd3b78f6d47d82feb1df3b3ea5930757c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
$NetBSD: patch-ba,v 1.2 2004/02/01 22:37:19 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);
|