diff --git a/library/psa_crypto.c b/library/psa_crypto.c index 78d0b9a3f..42d141c19 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c @@ -453,9 +453,7 @@ static psa_status_t validate_unstructured_key_bit_size( psa_key_type_t type, switch( type ) { case PSA_KEY_TYPE_RAW_DATA: -#if defined(MBEDTLS_MD_C) case PSA_KEY_TYPE_HMAC: -#endif case PSA_KEY_TYPE_DERIVE: break; #if defined(MBEDTLS_AES_C)