tests: Reset output buffer in torture_crypto
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Этот коммит содержится в:
родитель
e9ba2da9e9
Коммит
34241cbb2b
@ -84,6 +84,7 @@ static void torture_crypto_aes256_cbc(void **state)
|
|||||||
iv
|
iv
|
||||||
);
|
);
|
||||||
|
|
||||||
|
memset(output, '0', sizeof(output));
|
||||||
cipher.decrypt(&cipher,
|
cipher.decrypt(&cipher,
|
||||||
aes256_cbc_encrypted,
|
aes256_cbc_encrypted,
|
||||||
output,
|
output,
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user