Properly initialize buffers.
Valgrind complained about use of uninitialized data.
This commit is contained in:
parent
f134bd0c9c
commit
37b729d7fd
1 changed files with 4 additions and 0 deletions
|
@ -82,6 +82,10 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
crypto_init();
|
||||
|
||||
randomize(buf1, sizeof buf1);
|
||||
randomize(buf2, sizeof buf2);
|
||||
randomize(buf3, sizeof buf3);
|
||||
|
||||
// Key generation
|
||||
|
||||
fprintf(stderr, "Generating keys for %lg seconds: ", duration);
|
||||
|
|
Loading…
Reference in a new issue