mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
Add missing check of return
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
a698976fdb
commit
65b276c613
@ -243,7 +243,7 @@ void local_output_round_trip()
|
|||||||
TEST_CALLOC(buffer_copy_for_comparison, local_output.length);
|
TEST_CALLOC(buffer_copy_for_comparison, local_output.length);
|
||||||
memcpy(buffer_copy_for_comparison, local_output.buffer, 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_ASSERT(local_output.buffer == NULL);
|
||||||
TEST_EQUAL(local_output.length, 0);
|
TEST_EQUAL(local_output.length, 0);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user