From 5eca4029c2ef0026354e0be13e4af44f502ed782 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 7 Aug 2024 20:08:23 +0200 Subject: [PATCH] Fix inverted assertion message Signed-off-by: Gilles Peskine --- library/psa_crypto_slot_management.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/psa_crypto_slot_management.c b/library/psa_crypto_slot_management.c index c2949a61e..9b297c9c0 100644 --- a/library/psa_crypto_slot_management.c +++ b/library/psa_crypto_slot_management.c @@ -67,7 +67,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"); static uint8_t psa_get_key_slots_initialized(void) {