[svn] GnuPG - r4019 - trunk/keyserver
svn author dshaw
cvs at cvs.gnupg.org
Thu Feb 23 00:19:37 CET 2006
Author: dshaw
Date: 2006-02-23 00:19:36 +0100 (Thu, 23 Feb 2006)
New Revision: 4019
Modified:
trunk/keyserver/ChangeLog
trunk/keyserver/gpgkeys_hkp.c
Log:
* gpgkeys_hkp.c (get_name): A GETNAME query turns exact=on to cut down on
odd matches.
Modified: trunk/keyserver/ChangeLog
===================================================================
--- trunk/keyserver/ChangeLog 2006-02-22 20:34:48 UTC (rev 4018)
+++ trunk/keyserver/ChangeLog 2006-02-22 23:19:36 UTC (rev 4019)
@@ -1,3 +1,8 @@
+2006-02-22 David Shaw <dshaw at 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 at jabberwocky.com>
* gpgkeys_ldap.c (make_one_attr, build_attrs, send_key): Don't
Modified: trunk/keyserver/gpgkeys_hkp.c
===================================================================
--- trunk/keyserver/gpgkeys_hkp.c 2006-02-22 20:34:48 UTC (rev 4018)
+++ trunk/keyserver/gpgkeys_hkp.c 2006-02-22 23:19:36 UTC (rev 4019)
@@ -327,6 +327,9 @@
append_path(request,"/pks/lookup?op=get&options=mr&search=");
strcat(request,searchkey_encoded);
+ if(opt->action==KS_GETNAME)
+ strcat(request,"&exact=on");
+
if(opt->verbose>2)
fprintf(console,"gpgkeys: HTTP URL is `%s'\n",request);
More information about the Gnupg-commits
mailing list