diff options
author | W. Trevor King <[email protected]> | 2012-10-06 13:33:30 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2012-10-11 14:18:24 +0000 |
commit | c28ebca9f2e21344d68e9fdcec60553f225c2e54 (patch) | |
tree | 0dd6a77c3c896aaa15887ecf43a15a3f6c5d2f58 /src/gpgme-tool.c | |
parent | gpgme-tool: Return more detailed XML from KEYLIST (diff) | |
download | gpgme-c28ebca9f2e21344d68e9fdcec60553f225c2e54.tar.gz gpgme-c28ebca9f2e21344d68e9fdcec60553f225c2e54.zip |
gpgme-tool: Fix chain_id -> chain-id in KEYLIST XML.
[[PGP Signed Part:Undecided]]
src/gpgme-tool.c (cmd_keylist): Use <chain-id> instead of <chain_id>.
--
All the other tags map struct attribute underscores to hyphens, so
fixing <chain_id> follows the priciple of least surprise.
Signed-off-by: W. Trevor King <[email protected]>
Diffstat (limited to 'src/gpgme-tool.c')
-rw-r--r-- | src/gpgme-tool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgme-tool.c b/src/gpgme-tool.c index 23122e8a..d37088cd 100644 --- a/src/gpgme-tool.c +++ b/src/gpgme-tool.c @@ -2970,7 +2970,7 @@ cmd_keylist (assuan_context_t ctx, char *line) result_add_string (&state, "serial", key->issuer_serial); result_add_string (&state, "name", key->issuer_name); result_xml_tag_end (&state); /* issuer */ - result_add_string (&state, "chain_id", key->chain_id); + result_add_string (&state, "chain-id", key->chain_id); result_add_validity (&state, "owner-trust", key->owner_trust); result_xml_tag_start (&state, "subkeys", NULL); subkey = key->subkeys; |