gpg: Minor cleanup for key listing related code.
authorWerner Koch <wk@gnupg.org>
Sun, 2 Nov 2014 15:31:30 +0000 (16:31 +0100)
committerWerner Koch <wk@gnupg.org>
Sun, 2 Nov 2014 15:31:30 +0000 (16:31 +0100)
commit440e8f517008107a9fe1b72cb659b97b7d840de6
treeb3e8e900f8aa2496907199923a0c03bc3bdc4a98
parenta929f36693567e57eca89fb48f23cada8ce7291a
gpg: Minor cleanup for key listing related code.

* g10/getkey.c (get_pubkey_next): Divert to getkey_next.
(get_pubkey_end): Move code to getkey_end.
* g10/keydb.c (keydb_search_reset): Add a debug statement.
(dump_search_desc): Add arg HD and print the handle.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/getkey.c
g10/keydb.c