$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;
 
