aboutsummaryrefslogtreecommitdiffstats
path: root/sm/keylist.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/keylist.c')
-rw-r--r--sm/keylist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sm/keylist.c b/sm/keylist.c
index 8a9eaf5e7..78f919d8f 100644
--- a/sm/keylist.c
+++ b/sm/keylist.c
@@ -1391,6 +1391,7 @@ list_internal_keys (ctrl_t ctrl, strlist_t names, estream_t fp,
if (gpgsm_certs_identical_p (cert, lastcert))
{
ksba_cert_release (cert);
+ cert = NULL;
continue;
}