mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-18 23:42:32 +00:00
Add missing guards around exit label
Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
075c5fb76f
commit
e097bbdcf3
@ -7653,7 +7653,9 @@ psa_status_t psa_generate_random(uint8_t *output_external,
|
|||||||
|
|
||||||
status = psa_generate_random_internal(output, output_size);
|
status = psa_generate_random_internal(output, output_size);
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_PSA_COPY_CALLER_BUFFERS)
|
||||||
exit:
|
exit:
|
||||||
|
#endif
|
||||||
LOCAL_OUTPUT_FREE(output_external, output);
|
LOCAL_OUTPUT_FREE(output_external, output);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user