From 5cc8dfb40489b2eeb0180a746d89d099caf1f813 Mon Sep 17 00:00:00 2001 From: John Durkop Date: Fri, 13 Nov 2020 04:54:15 -0800 Subject: [PATCH] Removed final MBEDLTS_MD_C guard in PSA crypto library There was one lingering MBEDTLS_MD_C that needed to be removed since it is no longer needed. Signed-off-by: John Durkop --- library/psa_crypto.c | 2 -- 1 file changed, 2 deletions(-) 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)