1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* 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

@ -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';