mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-11-03 20:33:16 +03: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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user