mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-23 11:42:31 +00:00
Prevent unused warnings in psa_aead_set_nonce()
Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
e000a0aedf
commit
18dc032fb4
@ -4984,7 +4984,10 @@ psa_status_t psa_aead_set_nonce(psa_aead_operation_t *operation,
|
|||||||
|
|
||||||
status = psa_aead_set_nonce_internal(operation, nonce, nonce_length);
|
status = psa_aead_set_nonce_internal(operation, nonce, nonce_length);
|
||||||
|
|
||||||
|
/* Exit label is only needed for buffer copying, prevent unused warnings. */
|
||||||
|
#if defined(MBEDTLS_PSA_COPY_CALLER_BUFFERS)
|
||||||
exit:
|
exit:
|
||||||
|
#endif
|
||||||
|
|
||||||
LOCAL_INPUT_FREE(nonce_external, nonce);
|
LOCAL_INPUT_FREE(nonce_external, nonce);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user