diff options
author | Werner Koch <[email protected]> | 2015-01-19 13:58:06 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-01-19 13:58:06 +0000 |
commit | 7be1b7d8017cb7ebf1a3855edec0ef5e342cc9c5 (patch) | |
tree | 3b825d28d380caf1dfcfc4fa27241261ee616bca /g10/call-agent.h | |
parent | kbx: Call skipfnc callback to filter out keys (diff) | |
download | gnupg-7be1b7d8017cb7ebf1a3855edec0ef5e342cc9c5.tar.gz gnupg-7be1b7d8017cb7ebf1a3855edec0ef5e342cc9c5.zip |
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 <[email protected]>
Diffstat (limited to 'g10/call-agent.h')
0 files changed, 0 insertions, 0 deletions