test/crypto: fix return value in RSA verify test
PATCH 1/1 test/crypto: fix return value in RSA verify test
This patch fixes incorrect return value when RSA negative test scenario is validated.
Coverity-issue: 457463
Fixes 9682e8246ae ("test/crypto: add negative case for RSA verification")
Signed-off-by Gowrishankar Muthukrishnan <[email protected]>
--- app/test/test_cryptodev_asym.c | 1 + 1 file changed, 1 insertion(+)
app/test/test_cryptodev_asym.c +1 -0
@@ -155,6 +155,7 @@ queue_ops_rsa_sign_verify(void *sess)if (result_op->status !=RTE_CRYPTO_OP_STATUS_ERROR ) {RTE_LOG (ERR ,USER1 ,"Failed to process sign-verify op\n" ); status =TEST_FAILED ; + goto error_exit; } status =TEST_SUCCESS ;
Signature · 1 line
2.25.1