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-name.
The last of exact-name and exact-email overrides the earlier. * gpgkeys_ldap.c (search_key), gpgkeys_hkp.c (search_key): Use it here to do a name-only search.
This commit is contained in:
parent
2d353af65d
commit
70bf6d9204
5 changed files with 49 additions and 5 deletions
|
@ -304,7 +304,20 @@ parse_ks_options(char *line,struct ks_options *opt)
|
|||
if(no)
|
||||
opt->flags.exact_email=0;
|
||||
else
|
||||
opt->flags.exact_email=1;
|
||||
{
|
||||
opt->flags.exact_email=1;
|
||||
opt->flags.exact_name=0;
|
||||
}
|
||||
}
|
||||
else if(strcasecmp(start,"exact-name")==0)
|
||||
{
|
||||
if(no)
|
||||
opt->flags.exact_name=0;
|
||||
else
|
||||
{
|
||||
opt->flags.exact_name=1;
|
||||
opt->flags.exact_email=0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue