mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 10:40:27 +09:00
tests: Reset output buffer in torture_crypto
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user