aboutsummaryrefslogtreecommitdiffstats
path: root/tests/run-keylist.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-keylist.c')
-rw-r--r--tests/run-keylist.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/run-keylist.c b/tests/run-keylist.c
index a9d4b6aa..9ecf380b 100644
--- a/tests/run-keylist.c
+++ b/tests/run-keylist.c
@@ -308,9 +308,11 @@ main (int argc, char **argv)
gpgme_user_id_t uid;
gpgme_tofu_info_t ti;
gpgme_key_sig_t ks;
+ gpgme_revocation_key_t revkey;
int nuids;
int nsub;
int nsigs;
+ int nrevkeys;
printf ("keyid : %s\n", key->subkeys?nonnull (key->subkeys->keyid):"?");
printf ("can_cap : %s%s%s%s\n",
@@ -425,6 +427,13 @@ main (int argc, char **argv)
}
}
+ revkey = key->revocation_keys;
+ for (nrevkeys=0; revkey; revkey = revkey->next, nrevkeys++)
+ {
+ printf ("revkey%2d: %s\n", nrevkeys, revkey->fpr);
+ printf (" class: %x\n", revkey->key_class);
+ }
+
putchar ('\n');
if (import)