1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-17 00:39:50 +02:00

* gpgkeys_hkp.c (search_key): HKP keyservers like the 0x to be present

when searching by keyID.
This commit is contained in:
David Shaw 2006-12-03 05:57:57 +00:00
parent 69f73dddd9
commit 928db7d34b
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-12-03 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_hkp.c (search_key): HKP keyservers like the 0x to be
present when searching by keyID.
2006-11-05 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_hkp.c (curl_mrindex_writer): Revert previous change.

View File

@ -426,6 +426,12 @@ search_key(const char *searchkey)
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)