mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-02 15:07:24 +00:00
Add missing check of return
Signed-off-by: Paul Elliott <[email protected]>
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user