1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* ksutil.h, ksutil.c (parse_ks_options): New keyserver-option

exact-email.

* gpgkeys_ldap.c (search_key), gpgkeys_hkp.c (search_key): Use it here
to do an email-only search.
This commit is contained in:
David Shaw 2005-08-18 04:17:20 +00:00
parent 0a3eda24ee
commit e9b444a9d0
5 changed files with 61 additions and 7 deletions

View file

@ -298,6 +298,14 @@ parse_ks_options(char *line,struct ks_options *opt)
return KEYSERVER_NO_MEMORY;
}
}
else if(strcasecmp(start,"exact-email")==0
|| strcasecmp(start,"exact-mail")==0)
{
if(no)
opt->flags.exact_email=0;
else
opt->flags.exact_email=1;
}
}
return -1;