Browse Source

prng_test - silence valgrind warning

Karel Miko 8 years ago
parent
commit
8dec4d9ac4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/prng_test.c

+ 1 - 1
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;