* gpgkeys_hkp.c (send_key, get_key, search_key): Use "hkp" instead of
authorDavid Shaw <dshaw@jabberwocky.com>
Mon, 18 Oct 2004 15:53:28 +0000 (15:53 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Mon, 18 Oct 2004 15:53:28 +0000 (15:53 +0000)
"x-hkp" so it can be used as a SRV tag.

keyserver/ChangeLog
keyserver/gpgkeys_hkp.c

index ed126ea..81a6577 100644 (file)
@@ -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.
index 8d180a4..5065138 100644 (file)
@@ -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)