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 14:04:47 +0000 (16:04 +0200)
commit3121c4b6c17b19cbf2119d2658d69ce4cca908c6
tree4e0f8974b938219a9089b5571e5e42f0aed4723e
parent88ac9568364b399b896de2d6f2432b1cb73415a8
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.
--

Resolved conflicts:
kbx/keybox-defs.h - whitespace fixes.
kbx/keybox-defs.h
kbx/keybox-init.c
kbx/keybox.h
sm/keydb.c
sm/keydb.h