From b41c3c958280ac790aba465ec4aa15adb7745faa Mon Sep 17 00:00:00 2001 From: Ryan Everett Date: Thu, 25 Jan 2024 11:56:35 +0000 Subject: [PATCH] Guard the exit to stop unused label warning Signed-off-by: Ryan Everett --- library/psa_crypto.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/psa_crypto.c b/library/psa_crypto.c index a09877e974..e8ec3f2058 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c @@ -7114,7 +7114,9 @@ psa_status_t psa_key_derivation_input_bytes( status = psa_key_derivation_input_internal(operation, step, PSA_KEY_TYPE_NONE, data, data_length); +#if defined(MBEDTLS_PSA_COPY_CALLER_BUFFERS) exit: +#endif LOCAL_INPUT_FREE(data_external, data); return status; }