diff options
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) |