summaryrefslogtreecommitdiff
path: root/mail/mutt/patches/patch-aa
blob: ebf97f65f368e8219080fc6c144a1272426fd15d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-aa,v 1.9 2019/05/26 08:43:14 tron Exp $

--- send.c.orig	2019-05-10 03:20:15.000000000 +0100
+++ send.c	2019-05-26 09:32:44.000000000 +0100
@@ -2196,6 +2196,13 @@
     }
   }
 
+#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;