[1/2] fips_validation: fix missed version line
diff mbox series

Message ID 20201022095927.587840-2-roy.fan.zhang@intel.com
State Accepted, archived
Delegated to: akhil goyal
Headers show
Series
  • fips_validation: fix issues
Related show

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Zhang, Roy Fan Oct. 22, 2020, 9:59 a.m. UTC
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(-)

Comments

Archana Muniganti Nov. 2, 2020, 11:12 a.m. UTC | #1
> -----Original Message-----
> From: Fan Zhang <roy.fan.zhang@intel.com>
> Sent: Thursday, October 22, 2020 3:29 PM
> To: dev@dpdk.org
> Cc: akhil.goyal@nxp.com; Fan Zhang <roy.fan.zhang@intel.com>; Archana
> Muniganti <marchana@marvell.com>
> Subject: [EXT] [dpdk-dev 1/2] fips_validation: fix missed version line
> 
> External Email
> 
> ----------------------------------------------------------------------
> 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>
Acked-by: Archana Muniganti <marchana@marvell.com>

Patch
diff mbox series

diff --git a/examples/fips_validation/fips_validation.c b/examples/fips_validation/fips_validation.c
index 7454a03b1..4c3ed80c8 100644
--- a/examples/fips_validation/fips_validation.c
+++ b/examples/fips_validation/fips_validation.c
@@ -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;