mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-04 14:08:39 +00:00
For tests, rename ASSERT_ALLOC() to TEST_CALLOC_OR_FAIL()
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
This commit is contained in:
parent
65cd8519f7
commit
f9ffd11e7a
40 changed files with 347 additions and 347 deletions
|
|
@ -169,7 +169,7 @@ void mbedtls_psa_get_random_length(int n)
|
|||
unsigned char *output = NULL;
|
||||
|
||||
PSA_ASSERT(psa_crypto_init());
|
||||
ASSERT_ALLOC(output, n);
|
||||
TEST_CALLOC_OR_FAIL(output, n);
|
||||
|
||||
TEST_EQUAL(0, mbedtls_psa_get_random(MBEDTLS_PSA_RANDOM_STATE,
|
||||
output, n));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue