mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-29 21:33:02 +00:00
Conditionally guard exit label to deter unused label error
Co-authored-by: David Horstmann <david.horstmann@arm.com> Signed-off-by: Ryan Everett <ryan.everett@arm.com>
This commit is contained in:
parent
84a666daa8
commit
35f68533d8
@ -1639,7 +1639,9 @@ psa_status_t psa_export_key(mbedtls_svc_key_id_t key,
|
||||
status = psa_driver_wrapper_export_key(&attributes,
|
||||
slot->key.data, slot->key.bytes,
|
||||
data, data_size, data_length);
|
||||
#if defined(MBEDTLS_PSA_COPY_CALLER_BUFFERS)
|
||||
exit:
|
||||
#endif
|
||||
unlock_status = psa_unlock_key_slot(slot);
|
||||
|
||||
LOCAL_OUTPUT_FREE(data_external, data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user