From bd146d5fcc9f33c0ea25c4130c6e7472a7cb21fc Mon Sep 17 00:00:00 2001 From: David Shaw Date: Fri, 19 Aug 2005 13:37:47 +0000 Subject: * 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. --- g10/getkey.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'g10/getkey.c') 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*/ -- cgit