aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/ksutil.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2006-04-11 03:00:50 +0000
committerDavid Shaw <[email protected]>2006-04-11 03:00:50 +0000
commit3011a392843f4a34587309187793cda8eb388475 (patch)
tree13cab45ee9595ddab78fa22fa86386e0da1e675f /keyserver/ksutil.h
parent* gpg.sgml: Some typo fixes. This is Debian 361324. (diff)
downloadgnupg-3011a392843f4a34587309187793cda8eb388475.tar.gz
gnupg-3011a392843f4a34587309187793cda8eb388475.zip
* 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.
Diffstat (limited to 'keyserver/ksutil.h')
-rw-r--r--keyserver/ksutil.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyserver/ksutil.h b/keyserver/ksutil.h
index b5e67bb63..0ef14f595 100644
--- a/keyserver/ksutil.h
+++ b/keyserver/ksutil.h
@@ -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
{