diff options
author | Werner Koch <[email protected]> | 2001-11-26 13:08:36 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2001-11-26 13:08:36 +0000 |
commit | 99829ef5fbff1c0a4aa9fb0b55b4720b44985c39 (patch) | |
tree | 5780ab73d8432dcf7592a6d7a293ad20ac94ccc4 /sm/keylist.c | |
parent | More error codes (diff) | |
download | gnupg-99829ef5fbff1c0a4aa9fb0b55b4720b44985c39.tar.gz gnupg-99829ef5fbff1c0a4aa9fb0b55b4720b44985c39.zip |
* keydb.c (keydb_add_resource): Create keybox
* keylist.c (gpgsm_list_keys): Fixed non-server keylisting.
* server.c (rc_to_assuan_status): New. Use it for all commands.
Diffstat (limited to 'sm/keylist.c')
-rw-r--r-- | sm/keylist.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sm/keylist.c b/sm/keylist.c index 19bc9dd40..98ae8eb67 100644 --- a/sm/keylist.c +++ b/sm/keylist.c @@ -168,13 +168,13 @@ gpgsm_list_keys (CTRL ctrl, STRLIST names, FILE *fp) putc ('\n', fp); lastresname = resname; } - if (ctrl->with_colons) - list_cert_colon (cert, fp); - else - list_cert_colon (cert, fp); - ksba_cert_release (cert); - cert = NULL; - } + } + if (ctrl->with_colons) + list_cert_colon (cert, fp); + else + list_cert_colon (cert, fp); + ksba_cert_release (cert); + cert = NULL; } while (!(rc = keydb_search_next (hd))); if (rc && rc != -1) |