scripts: Fixed NIST KAT scripts

This commit is contained in:
Andreas Steffen 2020-12-02 17:27:08 +01:00
parent 0dbb6e3160
commit 9e79ea07be
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 Andreas Steffen
* Copyright (C) 2019-2020 Andreas Steffen
* HSR Hochschule fuer Technik Rapperswil
*
* This program is free software; you can redistribute it and/or modify it
@ -139,9 +139,9 @@ int main(int argc, char *argv[])
{
break;
}
fprintf(out, "/** count = %.*s */\n", value_len, value);
fprintf(out, "{\n");
fprintf(out, "\t.method = %s,\n", method);
fprintf(out, "\t.count = %.*s,\n", value_len, value);
count--;
}
else

View File

@ -56,7 +56,7 @@ int main(int argc, char *argv[])
{"out", required_argument, NULL, 'o' },
{0,0,0,0 },
};
switch (getopt_long(argc, argv, "h:m:c:i:o:", long_opts, NULL))
switch (getopt_long(argc, argv, "h:t:c:i:o:", long_opts, NULL))
{
case EOF:
break;