gpgsm: Add a way to save a found state.
authorWerner Koch <wk@gnupg.org>
Mon, 2 Jun 2014 13:55:00 +0000 (15:55 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 2 Jun 2014 13:55:00 +0000 (15:55 +0200)
commit42c043a8ad542c131917879c9b458f234b4bb645
tree1847bf9f4161c5fb0f3bd893fdc5a6e87f4336ec
parent99972bd6e9abea71f270284f49997de5f00208af
gpgsm: Add a way to save a found state.

* kbx/keybox-defs.h (keybox_found_s): New.
(keybox_handle): Factor FOUND out to above.  Add saved_found.
* kbx/keybox-init.c (keybox_release): Release saved_found.
(keybox_push_found_state, keybox_pop_found_state): New.

* sm/keydb.c (keydb_handle): Add field saved_found.
(keydb_new): Init it.
(keydb_push_found_state, keydb_pop_found_state): New.
kbx/keybox-defs.h
kbx/keybox-init.c
kbx/keybox.h
sm/keydb.c
sm/keydb.h