[svn] GnuPG - r4360 - trunk/keyserver
svn author dshaw
cvs at cvs.gnupg.org
Sun Dec 3 07:04:58 CET 2006
Author: dshaw
Date: 2006-12-03 07:04:58 +0100 (Sun, 03 Dec 2006)
New Revision: 4360
Modified:
trunk/keyserver/ChangeLog
trunk/keyserver/gpgkeys_hkp.c
Log:
* gpgkeys_hkp.c (search_key): HKP keyservers like the 0x to be present
when searching by keyID.
Modified: trunk/keyserver/ChangeLog
===================================================================
--- trunk/keyserver/ChangeLog 2006-12-03 05:57:57 UTC (rev 4359)
+++ trunk/keyserver/ChangeLog 2006-12-03 06:04:58 UTC (rev 4360)
@@ -1,3 +1,8 @@
+2006-12-03 David Shaw <dshaw at jabberwocky.com>
+
+ * gpgkeys_hkp.c (search_key): HKP keyservers like the 0x to be
+ present when searching by keyID.
+
2006-11-22 Werner Koch <wk at g10code.com>
* Makefile.am (gpg2keys_ldap_LDADD): Add jnlib. This is needed
Modified: trunk/keyserver/gpgkeys_hkp.c
===================================================================
--- trunk/keyserver/gpgkeys_hkp.c 2006-12-03 05:57:57 UTC (rev 4359)
+++ trunk/keyserver/gpgkeys_hkp.c 2006-12-03 06:04:58 UTC (rev 4360)
@@ -426,6 +426,12 @@
strcat(request,"11371");
strcat(request,opt->path);
append_path(request,"/pks/lookup?op=index&options=mr&search=");
+
+ /* HKP keyservers like the 0x to be present when searching by
+ keyid */
+ if(search_type==KS_SEARCH_KEYID_SHORT || search_type==KS_SEARCH_KEYID_LONG)
+ strcat(request,"0x");
+
strcat(request,searchkey_encoded);
if(search_type!=KS_SEARCH_SUBSTR)
More information about the Gnupg-commits
mailing list