1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Fix inverted assertion message

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine
2024-08-07 20:08:23 +02:00
parent 3a51fdc8c6
commit d0ba2b0d1f

View File

@ -66,7 +66,7 @@ static psa_global_data_t global_data;
MBEDTLS_STATIC_ASSERT(ARRAY_LENGTH(global_data.key_slots) <=
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");
int psa_is_valid_key_id(mbedtls_svc_key_id_t key, int vendor_ok)
{