mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-11-06 15:52:49 +00:00
Simplify camellia error conversion macros
Signed-off-by: Dave Rodgman <[email protected]>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user