diff --git a/library/psa_crypto.c b/library/psa_crypto.c index e64d172593..b78e8696bb 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c @@ -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 {