Add missing check of return

Signed-off-by: Paul Elliott <[email protected]>
This commit is contained in:
Paul Elliott
2024-10-24 14:58:22 +01:00
parent a698976fdb
commit 65b276c613
@@ -243,7 +243,7 @@ void local_output_round_trip()
TEST_CALLOC(buffer_copy_for_comparison, local_output.length);
memcpy(buffer_copy_for_comparison, local_output.buffer, local_output.length);
psa_crypto_local_output_free(&local_output);
TEST_EQUAL(psa_crypto_local_output_free(&local_output), PSA_SUCCESS);
TEST_ASSERT(local_output.buffer == NULL);
TEST_EQUAL(local_output.length, 0);