From c40491c7b7f843edfdf65128bfb34d86588811c1 Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Sat, 6 Sep 2008 14:22:38 -0400 Subject: [PATCH] Fixed cache commands after a pinentry timeout was reached. --- src/pinentry.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pinentry.c b/src/pinentry.c index ff73d498..fd210d1b 100644 --- a/src/pinentry.c +++ b/src/pinentry.c @@ -591,6 +591,7 @@ pth_event_t pinentry_iterate(struct client_s *cl, pth_event_t ev) /* Set from pinentry_timeout_thread(). */ if (cl->pinentry->status == PINENTRY_TIMEOUT) { + cl->pinentry->status = PINENTRY_NONE; rc = send_error(cl->ctx, GPG_ERR_TIMEOUT); if (cl->pinentry->which == PINENTRY_OPEN) -- 2.11.4.GIT