[1/2] fips_validation: fix missed version line
Checks
Commit Message
This patch fixes the missing version line in the response file.
Fixes: 793650184099 ("examples/fips_validation: fix version compatibility")
Cc: marchana@marvell.com
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
---
examples/fips_validation/fips_validation.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -118,7 +118,7 @@ fips_test_parse_header(void)
if (info.nb_vec_lines)
fips_test_parse_version();
- for (i = 1; i < info.nb_vec_lines; i++) {
+ for (i = 0; i < info.nb_vec_lines; i++) {
if (!algo_parsed) {
if (strstr(info.vec[i], "AESVS")) {
algo_parsed = 1;