test/crypto: fix missing return checks
authorAnoob Joseph <anoobj@marvell.com>
Mon, 8 Nov 2021 15:13:46 +0000 (20:43 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Tue, 16 Nov 2021 06:38:07 +0000 (07:38 +0100)
commit0015b149bcc59bdd5d8797c8e19c26b0f6f1b40d
tree594dc63e41a1fb5eaf37f3885378641adaa326a0
parent5d1a17e6e0acaac0ec1b727dd74535e842cbf3fe
test/crypto: fix missing return checks

The API could return errors. Add error checking for the same.

Fixes: b3bbd9e5f265 ("cryptodev: support device independent sessions")
Cc: stable@dpdk.org
Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
app/test/test_cryptodev.c