mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
* ksutil.h, ksutil.c (classify_ks_search): Add KS_SEARCH_KEYID_SHORT
and KS_SEARCH_KEYID_LONG to search for a key ID. * gpgkeys_ldap.c (search_key): Use it here to flip from pgpUserID searches to pgpKeyID or pgpCertID.
This commit is contained in:
parent
1bf02666fb
commit
3011a39284
4 changed files with 108 additions and 15 deletions
|
@ -75,7 +75,8 @@ int register_timeout(void);
|
|||
enum ks_action {KS_UNKNOWN=0,KS_GET,KS_GETNAME,KS_SEND,KS_SEARCH};
|
||||
|
||||
enum ks_search_type {KS_SEARCH_SUBSTR,KS_SEARCH_EXACT,
|
||||
KS_SEARCH_MAIL,KS_SEARCH_MAILSUB};
|
||||
KS_SEARCH_MAIL,KS_SEARCH_MAILSUB,
|
||||
KS_SEARCH_KEYID_LONG,KS_SEARCH_KEYID_SHORT};
|
||||
|
||||
struct ks_options
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue