aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keylist.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-03-31 18:35:28 +0000
committerWerner Koch <[email protected]>2017-03-31 18:35:28 +0000
commitaca5f494a88776d4974bfa9b0b65cb60c1b42040 (patch)
tree3a49f63b6b01874a9a2eb618b374b6ab7da29f60 /g10/keylist.c
parentgpg: Print more stats for the keydb and the signature cache. (diff)
downloadgnupg-aca5f494a88776d4974bfa9b0b65cb60c1b42040.tar.gz
gnupg-aca5f494a88776d4974bfa9b0b65cb60c1b42040.zip
gpg: Pass CTRL also to getkey_end.
* g10/getkey.c (getkey_end): Add arg CTRL. Change all callers. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/keylist.c')
-rw-r--r--g10/keylist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/keylist.c b/g10/keylist.c
index cc5009d70..2b6ee9f06 100644
--- a/g10/keylist.c
+++ b/g10/keylist.c
@@ -608,7 +608,7 @@ list_one (ctrl_t ctrl, strlist_t names, int secret, int mark_secret)
if (rc)
{
log_error ("error reading key: %s\n", gpg_strerror (rc));
- getkey_end (ctx);
+ getkey_end (ctrl, ctx);
return;
}
@@ -627,7 +627,7 @@ list_one (ctrl_t ctrl, strlist_t names, int secret, int mark_secret)
release_kbnode (keyblock);
}
while (!getkey_next (ctrl, ctx, NULL, &keyblock));
- getkey_end (ctx);
+ getkey_end (ctrl, ctx);
if (opt.check_sigs && !opt.with_colons)
print_signature_stats (&listctx);
@@ -668,7 +668,7 @@ locate_one (ctrl_t ctrl, strlist_t names)
release_kbnode (keyblock);
}
while (ctx && !getkey_next (ctrl, ctx, NULL, &keyblock));
- getkey_end (ctx);
+ getkey_end (ctrl, ctx);
ctx = NULL;
}
}