From e2f62ba9ec89685abe53ca6733df6f4eb246bcbd Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Thu, 16 May 2019 00:31:48 +0200 Subject: [PATCH] Fix unused variable in builds without storage --- library/psa_crypto_slot_management.c | 1 + 1 file changed, 1 insertion(+) diff --git a/library/psa_crypto_slot_management.c b/library/psa_crypto_slot_management.c index 22cac619d..4f0245c62 100644 --- a/library/psa_crypto_slot_management.c +++ b/library/psa_crypto_slot_management.c @@ -246,6 +246,7 @@ psa_status_t psa_validate_persistent_key_parameters( #else /* MBEDTLS_PSA_CRYPTO_STORAGE_C */ (void) id; + (void) creating; return( PSA_ERROR_NOT_SUPPORTED ); #endif /* !MBEDTLS_PSA_CRYPTO_STORAGE_C */ }