mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-20 16:42:59 +03:00
Remove PSA_TO_MD_ERR from ssl_tls.c
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
@ -60,14 +60,6 @@ static int local_err_translation(psa_status_t status)
|
|||||||
psa_generic_status_to_mbedtls);
|
psa_generic_status_to_mbedtls);
|
||||||
}
|
}
|
||||||
#define PSA_TO_MBEDTLS_ERR(status) local_err_translation(status)
|
#define PSA_TO_MBEDTLS_ERR(status) local_err_translation(status)
|
||||||
|
|
||||||
static int local_md_translation(psa_status_t status)
|
|
||||||
{
|
|
||||||
return psa_status_to_mbedtls(status, psa_to_md_errors,
|
|
||||||
ARRAY_LENGTH(psa_to_md_errors),
|
|
||||||
psa_generic_status_to_mbedtls);
|
|
||||||
}
|
|
||||||
#define PSA_TO_MD_ERR(status) local_md_translation(status)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_TEST_HOOKS)
|
#if defined(MBEDTLS_TEST_HOOKS)
|
||||||
|
Reference in New Issue
Block a user