mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-10 07:36:28 -04:00
Fix merge
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
parent
26bbd8dd4e
commit
f3c3504f5a
@ -3758,7 +3758,7 @@ psa_status_t psa_cipher_generate_iv(psa_cipher_operation_t *operation,
|
|||||||
|
|
||||||
LOCAL_OUTPUT_ALLOC(iv_external, default_iv_length, iv);
|
LOCAL_OUTPUT_ALLOC(iv_external, default_iv_length, iv);
|
||||||
|
|
||||||
status = psa_generate_random_internal(local_iv, default_iv_length);
|
status = psa_generate_random_internal(iv, default_iv_length);
|
||||||
if (status != PSA_SUCCESS) {
|
if (status != PSA_SUCCESS) {
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user