From 8dec4d9ac4c5cb8f7de4cbb97366f285c66ddb6d Mon Sep 17 00:00:00 2001 From: Karel Miko Date: Mon, 19 Jun 2017 12:28:22 +0200 Subject: [PATCH] prng_test - silence valgrind warning --- tests/prng_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/prng_test.c b/tests/prng_test.c index 02b229e..5e34751 100644 --- a/tests/prng_test.c +++ b/tests/prng_test.c @@ -22,7 +22,7 @@ int prng_test(void) { int err = CRYPT_NOP; int x; - unsigned char buf[4096]; + unsigned char buf[4096] = { 0 }; unsigned long n, one; prng_state nprng;