mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-29 00:18:06 -04:00
Fix inverted assertion message
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
c297c76b5b
commit
5eca4029c2
@ -67,7 +67,7 @@ static psa_global_data_t global_data;
|
|||||||
|
|
||||||
MBEDTLS_STATIC_ASSERT(ARRAY_LENGTH(global_data.key_slots) <=
|
MBEDTLS_STATIC_ASSERT(ARRAY_LENGTH(global_data.key_slots) <=
|
||||||
PSA_KEY_ID_VOLATILE_MAX - PSA_KEY_ID_VOLATILE_MIN + 1,
|
PSA_KEY_ID_VOLATILE_MAX - PSA_KEY_ID_VOLATILE_MIN + 1,
|
||||||
"The volatile key range is larger than the key slot array");
|
"The key slot array is larger than the volatile key ID range");
|
||||||
|
|
||||||
static uint8_t psa_get_key_slots_initialized(void)
|
static uint8_t psa_get_key_slots_initialized(void)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user