Store SHA test type in its own interim info struct instead of AES. Fixes: d5c247145c2 ("examples/fips_validation: add parsing for SHA")
Signed-off-by: Gowrishankar Muthukrishnan <gmuthukri...@marvell.com> --- examples/fips_validation/fips_validation_sha.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/fips_validation/fips_validation_sha.c b/examples/fips_validation/fips_validation_sha.c index dff552586f..75b073c15d 100644 --- a/examples/fips_validation/fips_validation_sha.c +++ b/examples/fips_validation/fips_validation_sha.c @@ -259,7 +259,7 @@ parse_test_sha_json_test_type(void) for (i = 0; i < RTE_DIM(sha_test_types); i++) if (strstr(type_str, sha_test_types[i].desc)) { - info.interim_info.aes_data.test_type = + info.interim_info.sha_data.test_type = sha_test_types[i].type; break; } -- 2.25.1