1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Fix build errors with MBEDTLS_PSA_CRYPTO_STORAGE_C disabled

This commit is contained in:
Gilles Peskine
2019-04-25 13:47:40 +02:00
parent 3495b58fcf
commit 30afafd527
2 changed files with 14 additions and 8 deletions

View File

@ -1307,6 +1307,7 @@ static psa_status_t psa_start_key_creation(
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 )