kbx: Change return type of search functions to gpg_error_t.
authorWerner Koch <wk@gnupg.org>
Wed, 13 Jan 2016 14:08:42 +0000 (15:08 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 13 Jan 2016 14:08:42 +0000 (15:08 +0100)
commitc7ca0f73dbe7c080b79f93f90f00ba2396fc4bd0
tree0148dd57d0618522515d0da351db23794cf0d1a8
parent9b6c91469a804c60289a2ed21334dfd856c294bb
kbx: Change return type of search functions to gpg_error_t.

* kbx/keybox-search.c (keybox_search_reset): Change return type to
gpg_error_t.
(keybox_search): Ditto.  Also handle GPG_ERR_EOF.
* sm/keydb.c (keydb_search_reset): Ditto.

Signed-off-by: Werner Koch <wk@gnupg.org>
kbx/keybox-search.c
kbx/keybox.h
sm/keydb.c
sm/keydb.h