This commit is contained in:
cathugger 2018-07-09 17:00:51 +00:00
parent 83a63a30ee
commit 04fadf3333
2 changed files with 1 additions and 2 deletions

2
main.c
View file

@ -417,7 +417,7 @@ static void printhelp(FILE *out,const char *progname)
"\t-S t - print statistics every specified ammount of seconds\n"
"\t-T - do not reset statistics counters when printing\n"
"\t-y - output generated keys in yaml format instead of dumping them to filesystem\n"
"\t-Y filename host.onion - parse yaml encoded key file and extract key(s) to filesystem\n"
"\t-Y [filename [host.onion]] - parse yaml encoded input and extract key(s) to filesystem\n"
,progname,progname);
fflush(out);
}

1
yaml.c
View file

@ -207,7 +207,6 @@ int yamlin_parseandcreate(FILE *fin,char *sname,const char *hostname)
hashost = 1;
} else
skipthis = 1;
break;
case PUB:
if (len != PUBKEY_LEN || !base64_valid(p,0)) {