* gpgkeys_hkp.c (main): Don't warn about include-subkeys - it isn't

unsupported, it's actually non-meaningful in the context of HKP (yet).
This commit is contained in:
David Shaw 2002-08-26 19:26:56 +00:00
parent 1f5bed18f4
commit 8d4602d72c
2 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,9 @@
2002-08-26 David Shaw <dshaw@jabberwocky.com> 2002-08-26 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_hkp.c (main): Don't warn about include-subkeys - it
isn't unsupported, it's actually non-meaningful in the context of
HKP (yet).
* gpgkeys_hkp.c (parse_hkp_index, dehtmlize): Move HTML * gpgkeys_hkp.c (parse_hkp_index, dehtmlize): Move HTML
functionality into new "dehtmlize" function. Remove HTML before functionality into new "dehtmlize" function. Remove HTML before
trying to parse each line from the keyserver. If the keyserver trying to parse each line from the keyserver. If the keyserver

View File

@ -512,10 +512,13 @@ int parse_hkp_index(char *line,char **buffer)
+1 +1
+2 +2
+10 +10
+4 +3
+3
+1
+10 +10
+1 +1
+1); +1
+20);
if(buf) if(buf)
*buffer=buf; *buffer=buf;
@ -831,8 +834,7 @@ int main(int argc,char *argv[])
include_revoked=1; include_revoked=1;
} }
else if(strcasecmp(start,"honor-http-proxy")==0 || else if(strcasecmp(start,"honor-http-proxy")==0 ||
strcasecmp(start,"broken-http-proxy")==0 || strcasecmp(start,"broken-http-proxy")==0)
strcasecmp(start,"include-subkeys")==0)
{ {
fprintf(stderr,"gpgkeys: HKP does not currently support %s\n", fprintf(stderr,"gpgkeys: HKP does not currently support %s\n",
start); start);