diff options
| author | David Shaw <[email protected]> | 2004-10-18 15:53:28 +0000 |
|---|---|---|
| committer | David Shaw <[email protected]> | 2004-10-18 15:53:28 +0000 |
| commit | 7e9a93d017badce59ea2b42d8daaefab3f540292 (patch) | |
| tree | 935cd0ba0204b9e5666a0d32ac793856508710e9 /keyserver/gpgkeys_hkp.c | |
| parent | * http.c (connect_server, send_request): Use the URI scheme as the SRV tag (diff) | |
| download | gnupg-7e9a93d017badce59ea2b42d8daaefab3f540292.tar.gz gnupg-7e9a93d017badce59ea2b42d8daaefab3f540292.zip | |
* gpgkeys_hkp.c (send_key, get_key, search_key): Use "hkp" instead of
"x-hkp" so it can be used as a SRV tag.
Diffstat (limited to 'keyserver/gpgkeys_hkp.c')
| -rw-r--r-- | keyserver/gpgkeys_hkp.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/keyserver/gpgkeys_hkp.c b/keyserver/gpgkeys_hkp.c index 8d180a4f8..506513835 100644 --- a/keyserver/gpgkeys_hkp.c +++ b/keyserver/gpgkeys_hkp.c @@ -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) |
