diff options
author | Werner Koch <wk@gnupg.org> | 2012-12-28 13:45:41 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2012-12-28 13:45:41 +0100 |
commit | f7495f1004071a0ceac394007bb37f88d7a3467f (patch) | |
tree | acd823d554763ec714a3b024f1ce11ef2c0c587c /kbx/keybox-defs.h | |
parent | gpg: First patches to support a keybox storage backend. (diff) | |
download | gnupg2-f7495f1004071a0ceac394007bb37f88d7a3467f.tar.xz gnupg2-f7495f1004071a0ceac394007bb37f88d7a3467f.zip |
kbxutil: Print algo number and fold similar lines.
* kbx/keybox-defs.h (_keybox_openpgp_key_info): Add field ALGO.
* kbx/keybox-openpgp.c (parse_key): Store algo.
* kbx/kbxutil.c (dump_openpgp_key): Print algo number.
* kbx/keybox-dump.c (_keybox_dump_blob): Print identical Sig-Expire
value lines with a range of indices.
Diffstat (limited to 'kbx/keybox-defs.h')
-rw-r--r-- | kbx/keybox-defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kbx/keybox-defs.h b/kbx/keybox-defs.h index 890e4ddf7..c58801638 100644 --- a/kbx/keybox-defs.h +++ b/kbx/keybox-defs.h @@ -111,6 +111,7 @@ struct keybox_handle { struct _keybox_openpgp_key_info { struct _keybox_openpgp_key_info *next; + int algo; unsigned char keyid[8]; int fprlen; /* Either 16 or 20 */ unsigned char fpr[20]; |