mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-25 13:43:31 +00:00
Fix status variable type in mbedtls_psa_ecp_export_public_key_iop_setup()
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
parent
af2595b4a7
commit
2cfce63fe6
@ -670,7 +670,7 @@ psa_status_t mbedtls_psa_ecp_export_public_key_iop_setup(
|
||||
size_t private_key_len,
|
||||
const psa_key_attributes_t *private_key_attributes)
|
||||
{
|
||||
psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED;
|
||||
int status = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||
|
||||
status = mbedtls_psa_ecp_load_representation(
|
||||
psa_get_key_type(private_key_attributes),
|
||||
|
Loading…
x
Reference in New Issue
Block a user