Conditionally include exit label

Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
Thomas Daubney 2024-02-15 14:24:03 +00:00
parent fe2bda3257
commit 50f58fc3e4

View File

@ -7363,7 +7363,9 @@ psa_status_t psa_key_derivation_key_agreement(psa_key_derivation_operation_t *op
slot,
peer_key, peer_key_length);
#if defined(MBEDTLS_PSA_COPY_CALLER_BUFFERS)
exit:
#endif
if (status != PSA_SUCCESS) {
psa_key_derivation_abort(operation);
} else {