Skip to content

Commit

Permalink
cputest: fix memset typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tpruvot committed Mar 25, 2017
1 parent 6ce3172 commit 3ec9095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util.c
Original file line number Diff line number Diff line change
Expand Up @@ -2310,7 +2310,7 @@ void print_hash_tests(void)

printf(CL_WHT "CPU HASH ON EMPTY BUFFER RESULTS:" CL_N "\n\n");

memset(buf, sizeof(buf), 0);
memset(buf, 0, sizeof(buf));
//buf[0] = 1; buf[64] = 2; // for endian tests

axiomhash(&hash[0], &buf[0]);
Expand Down

0 comments on commit 3ec9095

Please sign in to comment.