diff options
| author | Andre Heinecke <[email protected]> | 2016-06-27 12:47:44 +0000 | 
|---|---|---|
| committer | Andre Heinecke <[email protected]> | 2016-06-27 12:47:44 +0000 | 
| commit | 82d484c852d07958ac93efb3d2d7b7726fbb5231 (patch) | |
| tree | 6a1a5c701c623aba94ea9814dbb773f1ff1e9fd7 /lang/cpp | |
| parent | tests: Add new test tool run-decrypt (diff) | |
| download | gpgme-82d484c852d07958ac93efb3d2d7b7726fbb5231.tar.gz gpgme-82d484c852d07958ac93efb3d2d7b7726fbb5231.zip | |
Cpp: Do not treat KEYEXPIRED as error
* lang/cpp/src/editinteractor.cpp (status_to_error): No error
for KEYEXPIRED.
--
As keyexpired status is sent even if a subkey is expired
we can not treat it as a global error.
Diffstat (limited to 'lang/cpp')
| -rw-r--r-- | lang/cpp/src/editinteractor.cpp | 2 | 
1 files changed, 0 insertions, 2 deletions
| diff --git a/lang/cpp/src/editinteractor.cpp b/lang/cpp/src/editinteractor.cpp index d2633b5f..07dc26d7 100644 --- a/lang/cpp/src/editinteractor.cpp +++ b/lang/cpp/src/editinteractor.cpp @@ -222,8 +222,6 @@ Error status_to_error(unsigned int status)          return Error::fromCode(GPG_ERR_NO_PASSPHRASE);      case GPGME_STATUS_ALREADY_SIGNED:          return Error::fromCode(GPG_ERR_ALREADY_SIGNED); -    case GPGME_STATUS_KEYEXPIRED: -        return Error::fromCode(GPG_ERR_CERT_EXPIRED);      case GPGME_STATUS_SIGEXPIRED:          return Error::fromCode(GPG_ERR_SIG_EXPIRED);      } | 
