From 3fad1216770f446a89801d842aa8667356a5ec95 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Fri, 6 May 2016 13:19:18 +0200 Subject: [PATCH] Cpp: Handle PINENTRY_LAUNCHED status line * lang/cpp/src/editinteractor.cpp (EditInteractor::needsNoResponse): Add GPGME_STATUS_PINENTRY_LAUNCHED. -- PINENTRY_LAUNCHED needs no response in any Job. This fixes Jobs which errored out on unknown status lines. --- lang/cpp/src/editinteractor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lang/cpp/src/editinteractor.cpp b/lang/cpp/src/editinteractor.cpp index edb1ac85..c05ccd63 100644 --- a/lang/cpp/src/editinteractor.cpp +++ b/lang/cpp/src/editinteractor.cpp @@ -210,6 +210,7 @@ bool EditInteractor::needsNoResponse(unsigned int status) const case GPGME_STATUS_USERID_HINT: case GPGME_STATUS_SIGEXPIRED: case GPGME_STATUS_KEYEXPIRED: + case GPGME_STATUS_PINENTRY_LAUNCHED: return true; default: return false;