Add another VALGRIND_MAKE_MEM_DEFINED.
[asdcplib.git] / src / KM_prng.cpp
index a650eb84222692a4b78807650655780cab9de52f..94de208a924a053762426e0c09ac141a0adaf82e 100755 (executable)
@@ -214,6 +214,10 @@ Kumu::FortunaRNG::FillRandom(byte_t* buf, ui32_t len)
       s_RNG->set_key(rng_key);
   }
 
+#if HAVE_VALGRIND_MEMCHECK_H
+  VALGRIND_MAKE_MEM_DEFINED(buf, len);
+#endif
+
   return front_of_buffer;
 }