From 99829ef5fbff1c0a4aa9fb0b55b4720b44985c39 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 26 Nov 2001 13:08:36 +0000 Subject: * 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. --- sm/keylist.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'sm/keylist.c') 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) -- cgit v1.2.3