[v1,1/2] examples/fips_validation: skip offsetting source for json vectors
Checks
Commit Message
For JSON based test vectors, it is not required to offset further
on source address where key value is read.
Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
---
examples/fips_validation/fips_validation.c | 4 ++++
1 file changed, 4 insertions(+)
@@ -625,7 +625,11 @@ parse_uint8_hex_str(const char *key, char *src, struct fips_val *val)
{
uint32_t len, j;
+#ifndef USE_JANSSON
src += strlen(key);
+#else
+ RTE_SET_USED(key);
+#endif
len = strlen(src) / 2;