Cpp: Handle PINENTRY_LAUNCHED status line
authorAndre Heinecke <aheinecke@intevation.de>
Fri, 6 May 2016 11:19:18 +0000 (13:19 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Fri, 6 May 2016 11:19:18 +0000 (13:19 +0200)
* 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

index edb1ac8..c05ccd6 100644 (file)
@@ -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;