mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
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.
This commit is contained in:
parent
88ac956836
commit
3121c4b6c1
5 changed files with 102 additions and 11 deletions
|
@ -49,6 +49,8 @@ gpg_error_t keydb_get_flags (KEYDB_HANDLE hd, int which, int idx,
|
|||
unsigned int *value);
|
||||
gpg_error_t keydb_set_flags (KEYDB_HANDLE hd, int which, int idx,
|
||||
unsigned int value);
|
||||
void keydb_push_found_state (KEYDB_HANDLE hd);
|
||||
void keydb_pop_found_state (KEYDB_HANDLE hd);
|
||||
int keydb_get_cert (KEYDB_HANDLE hd, ksba_cert_t *r_cert);
|
||||
int keydb_insert_cert (KEYDB_HANDLE hd, ksba_cert_t cert);
|
||||
int keydb_update_cert (KEYDB_HANDLE hd, ksba_cert_t cert);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue