mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpg: Set the found-by flags in the keyblock in keyboxd mode.
* g10/keydb-private.h (struct keydb_handle_s): Add fields to return the ordinals of the last found blob. * g10/call-keyboxd.c (keydb_get_keyblock): Pass them to the keyblock parser. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
b810320b1b
commit
1835097561
2 changed files with 34 additions and 8 deletions
|
@ -102,6 +102,11 @@ struct keydb_handle_s
|
|||
/* The UBID of the last returned keyblock. */
|
||||
unsigned char last_ubid[UBID_LEN];
|
||||
|
||||
/* The ordinals from the last search operations; valid if
|
||||
* last_ubid_valid is set. */
|
||||
int last_uid_no;
|
||||
int last_pk_no;
|
||||
|
||||
/* END USE_KEYBOXD */
|
||||
|
||||
/* BEGIN !USE_KEYBOXD */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue