From 8d706f6b59b6d987c0c3722b46c81401d1890a7b Mon Sep 17 00:00:00 2001 From: Dave Rodgman Date: Thu, 31 Aug 2023 11:48:44 +0100 Subject: [PATCH] Simplify camellia error conversion macros Signed-off-by: Dave Rodgman --- library/psa_crypto.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/library/psa_crypto.c b/library/psa_crypto.c index 028bdaaaf..2b6c8d42c 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c @@ -175,9 +175,7 @@ psa_status_t mbedtls_to_psa_error(int ret) #endif #if defined(PSA_WANT_KEY_TYPE_CAMELLIA) -#if defined(MBEDTLS_ERR_CAMELLIA_BAD_INPUT_DATA) case MBEDTLS_ERR_CAMELLIA_BAD_INPUT_DATA: -#endif case MBEDTLS_ERR_CAMELLIA_INVALID_INPUT_LENGTH: return PSA_ERROR_NOT_SUPPORTED; #endif