mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
For tests, rename TEST_CALLOC_OR_FAIL() to just TEST_CALLOC()
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
This commit is contained in:
@ -163,7 +163,7 @@ void mbedtls_psa_get_random_length(int n)
|
||||
unsigned char *output = NULL;
|
||||
|
||||
PSA_ASSERT(psa_crypto_init());
|
||||
TEST_CALLOC_OR_FAIL(output, n);
|
||||
TEST_CALLOC(output, n);
|
||||
|
||||
TEST_EQUAL(0, mbedtls_psa_get_random(MBEDTLS_PSA_RANDOM_STATE,
|
||||
output, n));
|
||||
|
Reference in New Issue
Block a user