tests: crypto: Fix unchecked return value on CTR PRNG test case
This issue was reported by Coverity (CID 151952) Change-Id: I59a20a3ccbe606ef634db98ac6cc6889a3973ec3 Signed-off-by: Sergio Rodriguez <sergio.sf.rodriguez@intel.com>
This commit is contained in:
parent
39b06e676f
commit
575adb6060
|
@ -327,7 +327,7 @@ int test_prng_vector(struct prng_vector *v)
|
|||
goto exit_test;
|
||||
}
|
||||
|
||||
tc_ctr_prng_generate(&ctx, extra1, extra1_len, output, exp_len);
|
||||
rc = tc_ctr_prng_generate(&ctx, extra1, extra1_len, output, exp_len);
|
||||
if (rc != TC_CRYPTO_SUCCESS) {
|
||||
rc = TC_FAIL;
|
||||
goto exit_test;
|
||||
|
|
Loading…
Reference in a new issue