examples/fips_validation: fix missed version line
authorFan Zhang <roy.fan.zhang@intel.com>
Thu, 22 Oct 2020 09:59:26 +0000 (10:59 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Mon, 2 Nov 2020 08:24:40 +0000 (09:24 +0100)
This patch fixes the missing version line in the response file.

Fixes: 793650184099 ("examples/fips_validation: fix version compatibility")
Cc: stable@dpdk.org
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
examples/fips_validation/fips_validation.c

index 7454a03..4c3ed80 100644 (file)
@@ -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;