mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
scripts: Fixed NIST KAT scripts
This commit is contained in:
parent
0dbb6e3160
commit
9e79ea07be
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user