]> git.droids-corp.org - dpdk.git/blobdiff - app/test-crypto-perf/main.c
app/testpmd: check statistics query before printing
[dpdk.git] / app / test-crypto-perf / main.c
index 35a11935256efc575bf155efb9beb3130de5871d..17e30a8e74a30044dfaaa8cab1a81fddaa2b9f4e 100644 (file)
@@ -382,7 +382,7 @@ cperf_verify_devices_capabilities(struct cperf_options *opts,
                                return -1;
 
                        ret = rte_cryptodev_asym_xform_capability_check_modlen(
-                               asym_capability, sizeof(perf_mod_p));
+                               asym_capability, opts->modex_data->modulus.len);
                        if (ret != 0)
                                return ret;