summaryrefslogtreecommitdiffstats
path: root/g10/keydb.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2017-03-31 20:35:28 +0200
committerWerner Koch <wk@gnupg.org>2017-03-31 20:35:28 +0200
commitaca5f494a88776d4974bfa9b0b65cb60c1b42040 (patch)
tree3a49f63b6b01874a9a2eb618b374b6ab7da29f60 /g10/keydb.h
parentgpg: Print more stats for the keydb and the signature cache. (diff)
downloadgnupg2-aca5f494a88776d4974bfa9b0b65cb60c1b42040.tar.xz
gnupg2-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 <wk@gnupg.org>
Diffstat (limited to 'g10/keydb.h')
-rw-r--r--g10/keydb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keydb.h b/g10/keydb.h
index 605964db0..271e68fdf 100644
--- a/g10/keydb.h
+++ b/g10/keydb.h
@@ -372,7 +372,7 @@ gpg_error_t getkey_next (ctrl_t ctrl, getkey_ctx_t ctx,
PKT_public_key *pk, kbnode_t *ret_keyblock);
/* Release any resources used by a key listing context. */
-void getkey_end (getkey_ctx_t ctx);
+void getkey_end (ctrl_t ctrl, getkey_ctx_t ctx);
/* Return the database handle used by this context. The context still
owns the handle. */