From b7f7092f57301fd33f9477f109e158f91b4b9171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 24 Jan 2020 10:59:08 +0100 Subject: [PATCH] Remove preprocessor directive for consistency Other cases in this switch statement aren't guarded either. --- library/psa_crypto.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/library/psa_crypto.c b/library/psa_crypto.c index cb7b5cf6a4..154806a3fa 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c @@ -2529,10 +2529,8 @@ static size_t psa_get_hash_block_size( psa_algorithm_t alg ) return( 64 ); case PSA_ALG_SHA_256: return( 64 ); -#if !defined(MBEDTLS_SHA512_NO_SHA384) case PSA_ALG_SHA_384: return( 128 ); -#endif case PSA_ALG_SHA_512: return( 128 ); default: