1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

* gpgkeys_hkp.c (get_name): A GETNAME query turns exact=on to cut down on

odd matches.
This commit is contained in:
David Shaw 2006-02-22 23:19:36 +00:00
parent 305288b5f5
commit 482a3a0101
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-02-22 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_hkp.c (get_name): A GETNAME query turns exact=on to cut
down on odd matches.
2006-02-21 David Shaw <dshaw@jabberwocky.com> 2006-02-21 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_ldap.c (make_one_attr, build_attrs, send_key): Don't * gpgkeys_ldap.c (make_one_attr, build_attrs, send_key): Don't

View File

@ -327,6 +327,9 @@ get_name(const char *getkey)
append_path(request,"/pks/lookup?op=get&options=mr&search="); append_path(request,"/pks/lookup?op=get&options=mr&search=");
strcat(request,searchkey_encoded); strcat(request,searchkey_encoded);
if(opt->action==KS_GETNAME)
strcat(request,"&exact=on");
if(opt->verbose>2) if(opt->verbose>2)
fprintf(console,"gpgkeys: HTTP URL is `%s'\n",request); fprintf(console,"gpgkeys: HTTP URL is `%s'\n",request);