summaryrefslogtreecommitdiff
path: root/mail/mutt/patches/patch-aa
blob: e0ccd84096e2ede30e03b4ae7dfe4b271bdff4fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-aa,v 1.8 2015/09/03 14:49:02 wiz Exp $

--- send.c.orig	Sun Feb  1 12:10:58 2004
+++ send.c
@@ -1689,6 +1689,13 @@ full_fcc:
     }
   }
 
+#ifdef CRYPT_BACKEND_CLASSIC_PGP
+  {
+    /* Extend the PGP expiry time while messages are being sent. */
+    extern time_t PgpExptime;
+    PgpExptime = time (NULL) + PgpTimeout;
+  }
+#endif
 
   rv = 0;