aboutsummaryrefslogtreecommitdiffstats
path: root/g10/getkey.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2005-08-19 13:37:47 +0000
committerDavid Shaw <[email protected]>2005-08-19 13:37:47 +0000
commitbd146d5fcc9f33c0ea25c4130c6e7472a7cb21fc (patch)
treeecb019721a47d5083a80535e97e7a7b9e4b480c9 /g10/getkey.c
parent* ksutil.h, ksutil.c (parse_ks_options): New keyserver-option exact-name. (diff)
downloadgnupg-bd146d5fcc9f33c0ea25c4130c6e7472a7cb21fc.tar.gz
gnupg-bd146d5fcc9f33c0ea25c4130c6e7472a7cb21fc.zip
* options.skel: Remove the surfnet LDAP keyserver from the list of
samples since it is being shut down. * getkey.c (classify_user_id): Disable the '.' and '+' search modes since they aren't supported yet.
Diffstat (limited to 'g10/getkey.c')
-rw-r--r--g10/getkey.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/getkey.c b/g10/getkey.c
index 59f18f6a5..4a8438168 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -590,11 +590,13 @@ classify_user_id( const char *name, KEYDB_SEARCH_DESC *desc )
case 0: /* empty string is an error */
return 0;
+#if 0
case '.': /* an email address, compare from end */
mode = KEYDB_SEARCH_MODE_MAILEND;
s++;
desc->u.name = s;
break;
+#endif
case '<': /* an email address */
mode = KEYDB_SEARCH_MODE_MAIL;
@@ -619,11 +621,13 @@ classify_user_id( const char *name, KEYDB_SEARCH_DESC *desc )
desc->u.name = s;
break;
+#if 0
case '+': /* compare individual words */
mode = KEYDB_SEARCH_MODE_WORDS;
s++;
desc->u.name = s;
break;
+#endif
case '#': /* local user id */
return 0; /* This is now obsolete and van't not be used anymore*/