diff options
author | Neal H. Walfield <[email protected]> | 2015-08-31 07:22:23 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-08-31 09:30:55 +0000 |
commit | 11d8ffc939a4d20cfb0082b2d966b1e1a7d61f8d (patch) | |
tree | 095c32e08491c0a2f8db73c35385137d0baa7ecf /common/utf8conv.c | |
parent | g10: Remove unused parameter. (diff) | |
download | gnupg-11d8ffc939a4d20cfb0082b2d966b1e1a7d61f8d.tar.gz gnupg-11d8ffc939a4d20cfb0082b2d966b1e1a7d61f8d.zip |
g10: Have keydb_search_first call keydb_search_reset before searching.
* g10/keydb.c (keydb_search_first): Reset the handle before starting
the search.
--
Signed-off-by: Neal H. Walfield <[email protected]>.
This bug hasn't shown up yet in practice, because keydb_search_first
is always called immediately after a keydb_new. This changes cleans
up the semantics and will hopefully prevent future bugs.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions