aboutsummaryrefslogtreecommitdiffstats
path: root/g10/delkey.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2013-01-07 20:14:52 +0000
committerWerner Koch <[email protected]>2013-01-07 20:14:52 +0000
commitf6d7b3f1ee5eed32bc3257c99cb878091d26c482 (patch)
treeff98f2dcb3b7593d8415567fcdecbbae8f9fac85 /g10/delkey.c
parentNew function log_clock. (diff)
downloadgnupg-f6d7b3f1ee5eed32bc3257c99cb878091d26c482.tar.gz
gnupg-f6d7b3f1ee5eed32bc3257c99cb878091d26c482.zip
gpg: Set the node flags while retrieving a keyblock.
* g10/keydb.c (parse_keyblock_image): Add args PK_NO and UID_NO and set the note flags accordingly. (keydb_get_keyblock): Transfer PK_NO and UID_NO to parse_keyblock_image. * kbx/keybox-search.c (blob_cmp_fpr, blob_cmp_fpr_part) (blob_cmp_name, blob_cmp_mail): Return the key/user number. (keybox_search): Set the key and user number into the found struct. (keybox_get_keyblock): Add args R_PK_NO and R_UID_NO and set them from the found struct. -- getkey.c needs to know whether the correct subkey was found. Thus we need to set the node flags the same way we did it with the keyring storage.
Diffstat (limited to 'g10/delkey.c')
0 files changed, 0 insertions, 0 deletions