Properly initialize buffers.

Valgrind complained about use of uninitialized data.
This commit is contained in:
Guus Sliepen 2014-04-13 12:09:48 +02:00
parent f134bd0c9c
commit 37b729d7fd

View file

@ -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);