commit | 30afafd5276cfce6e88a33f6fd484b28c02e4f75 | [log] [tgz] |
---|---|---|
author | Gilles Peskine <Gilles.Peskine@arm.com> | Thu Apr 25 13:47:40 2019 +0200 |
committer | Gilles Peskine <Gilles.Peskine@arm.com> | Thu Apr 25 17:42:32 2019 +0200 |
tree | 65ae0e1f443fbdc9a7bf041e7cce1eb5ff549c2b | |
parent | 3495b58fcfea9667f5170d0aab171d2e172f4a57 [diff] [blame] |
Fix build errors with MBEDTLS_PSA_CRYPTO_STORAGE_C disabled
diff --git a/library/psa_crypto.c b/library/psa_crypto.c index efec00b..e035ece 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c
@@ -1307,6 +1307,7 @@ static psa_status_t psa_finish_key_creation( psa_key_slot_t *slot ) { psa_status_t status = PSA_SUCCESS; + (void) slot; #if defined(MBEDTLS_PSA_CRYPTO_STORAGE_C) if( slot->lifetime == PSA_KEY_LIFETIME_PERSISTENT )