* gpgkeys_finger.c (main): We do not support relay fingering (i.e.

"finger://relayhost/user@example.com"), but finger URLs are occasionally
miswritten that way.  Give an error in this case.
This commit is contained in:
David Shaw 2004-10-14 20:36:40 +00:00
parent f13bba108a
commit e6a212a154
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2004-10-14 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_finger.c (main): We do not support relay fingering
(i.e. "finger://relayhost/user@example.com"), but finger URLs are
occasionally miswritten that way. Give an error in this case.
2004-10-14 Werner Koch <wk@g10code.com>
* gpgkeys_finger.c (get_key): s/unsigned char/byte/ due

View File

@ -435,6 +435,14 @@ main(int argc,char *argv[])
continue;
}
if(strncmp(line,"HOST ",5)==0)
{
fprintf(console,"gpgkeys: finger://relay/user syntax is not"
" supported. Use finger:user instead.\n");
ret=KEYSERVER_NOT_SUPPORTED;
goto fail;
}
if(sscanf(line,"OPAQUE %1023s\n",path)==1)
{
path[1023]='\0';