mirror of
https://github.com/libtom/libtomcrypt
synced 2026-08-25 20:26:07 -04:00
fix valgrind errors
Uninitialized key caused the following error: Conditional jump or move depends on uninitialised value(s) at ...: __memcmp_sse4_1 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ...
This commit is contained in:
parent
a06cba4cb5
commit
42a82ce3ed
1 changed files with 2 additions and 1 deletions
|
|
@ -3,7 +3,8 @@
|
|||
|
||||
int multi_test(void)
|
||||
{
|
||||
unsigned char key[32], buf[2][MAXBLOCKSIZE];
|
||||
unsigned char key[32] = { 0 };
|
||||
unsigned char buf[2][MAXBLOCKSIZE];
|
||||
unsigned long len, len2;
|
||||
|
||||
/* register algos */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue