aboutsummaryrefslogtreecommitdiffstats
path: root/common/status.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-05-13 14:24:59 +0000
committerWerner Koch <[email protected]>2016-05-17 17:13:19 +0000
commitff71521d9698c7c5df94831a1398e948213af433 (patch)
treed70607bb0d10c2b1cf8209bcba7ca80d26a65b82 /common/status.h
parentg10: Fix signature checking. (diff)
downloadgnupg-ff71521d9698c7c5df94831a1398e948213af433.tar.gz
gnupg-ff71521d9698c7c5df94831a1398e948213af433.zip
gpg: Emit new status line KEY_CONSIDERED.
* common/status.h (STATUS_KEY_CONSIDERED): New. * g10/getkey.c: Include status.h. (LOOKUP_NOT_SELECTED, LOOKUP_ALL_SUBKEYS_EXPIRED): New. (finish_lookup): Add arg R_FLAGS. Count expired and revoked keys and set flag. Check a requested usage before checking for expiraion or revocation. (print_status_key_considered): New. (lookup): Print new status. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/status.h')
-rw-r--r--common/status.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/status.h b/common/status.h
index 730a75cfc..966489fa3 100644
--- a/common/status.h
+++ b/common/status.h
@@ -105,6 +105,7 @@ enum
STATUS_INV_SGNR,
STATUS_NO_RECP,
STATUS_NO_SGNR,
+ STATUS_KEY_CONSIDERED,
STATUS_ALREADY_SIGNED,
STATUS_KEYEXPIRED,