mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Pass CTRL also to getkey_end.
* g10/getkey.c (getkey_end): Add arg CTRL. Change all callers. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
3a10de3bfd
commit
aca5f494a8
4 changed files with 23 additions and 23 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue