1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01: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 06:04:58 +00:00
parent 5b636f40ef
commit b111b0ed69
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-22 Werner Koch <wk@g10code.com>
* Makefile.am (gpg2keys_ldap_LDADD): Add jnlib. This is needed

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)