* gpgkeys_hkp.c (get_key): Use options=mr when getting a key so keyserver

doesn't attach the HTML header which we will just have to discard.
This commit is contained in:
David Shaw 2003-01-06 23:05:39 +00:00
parent af6e3ef045
commit 39dd4d2b29
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2003-01-06 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_hkp.c (get_key): Use options=mr when getting a key so
keyserver doesn't attach the HTML header which we will just have
to discard.
2002-11-17 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_ldap.c (main), gpgkeys_hkp.c (main): Use new keyserver

View File

@ -245,7 +245,7 @@ get_key(char *getkey)
return KEYSERVER_NO_MEMORY;
}
sprintf(request,"x-hkp://%s%s%s/pks/lookup?op=get&search=%s",
sprintf(request,"x-hkp://%s%s%s/pks/lookup?op=get&options=mr&search=%s",
host,port[0]?":":"",port[0]?port:"", search);
if(verbose>2)