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:
parent
0a3eda24ee
commit
e9b444a9d0
5 changed files with 61 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue