Home GnuPG
Diffusion GnuPG 7be1b7d8017c

kbx: Minor cleanup for the previous fix.
7be1b7d8017cUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

kbx: Minor cleanup for the previous fix.

* kbx/keybox-search.c (blob_get_keyid): Rename to
blob_get_first_keyid. Check number of keys and remove blob type check.

There is no need to check the blob type. We already know that it is a
key blob type and keyids are used for X.509 and OpenPGP. Also added
check for number of keys because the other parser functions do it as
well.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 19 2015, 2:58 PM
Parents
rGc5956592c171: kbx: Call skipfnc callback to filter out keys
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG7be1b7d8017c: kbx: Minor cleanup for the previous fix. (authored by Werner Koch <wk@gnupg.org>).Jan 19 2015, 2:58 PM