mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-23 10:29:58 +01:00
* gpgkeys_hkp.c (send_key, get_key, search_key): Use "hkp" instead of
"x-hkp" so it can be used as a SRV tag.
This commit is contained in:
parent
83d3914317
commit
7e9a93d017
@ -1,3 +1,8 @@
|
||||
2004-10-18 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* gpgkeys_hkp.c (send_key, get_key, search_key): Use "hkp" instead
|
||||
of "x-hkp" so it can be used as a SRV tag.
|
||||
|
||||
2004-10-16 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* gpgkeys_finger.c [_WIN32] (connect_server): Fix typo.
|
||||
|
@ -153,8 +153,7 @@ send_key(int *eof)
|
||||
|
||||
iobuf_flush_temp(temp);
|
||||
|
||||
sprintf(request,"x-hkp://%s%s%s/pks/add",
|
||||
host,port[0]?":":"",port[0]?port:"");
|
||||
sprintf(request,"hkp://%s%s%s/pks/add",host,port[0]?":":"",port[0]?port:"");
|
||||
|
||||
if(verbose>2)
|
||||
fprintf(console,"gpgkeys: HTTP URL is `%s'\n",request);
|
||||
@ -257,7 +256,7 @@ get_key(char *getkey)
|
||||
return KEYSERVER_NO_MEMORY;
|
||||
}
|
||||
|
||||
sprintf(request,"x-hkp://%s%s%s/pks/lookup?op=get&options=mr&search=%s",
|
||||
sprintf(request,"hkp://%s%s%s/pks/lookup?op=get&options=mr&search=%s",
|
||||
host,port[0]?":":"",port[0]?port:"", search);
|
||||
|
||||
if(verbose>2)
|
||||
@ -679,7 +678,7 @@ search_key(char *searchkey)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
sprintf(request,"x-hkp://%s%s%s/pks/lookup?op=index&options=mr&search=%s",
|
||||
sprintf(request,"hkp://%s%s%s/pks/lookup?op=index&options=mr&search=%s",
|
||||
host,port[0]?":":"",port[0]?port:"",search);
|
||||
|
||||
if(verbose>2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user