diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-10-29 01:50:18 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-10-29 01:50:18 +0200 |
| commit | 8f23c6c904d17e468bf94397fee28e1242cb1651 (patch) | |
| tree | 94d535701265a857aba61f943f357a6c2516ddf6 /src/KM_prng.cpp | |
| parent | bb09615b20d477b0c0663901a2344b5a53846aeb (diff) | |
Add another VALGRIND_MAKE_MEM_DEFINED.
Diffstat (limited to 'src/KM_prng.cpp')
| -rwxr-xr-x | src/KM_prng.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/KM_prng.cpp b/src/KM_prng.cpp index a650eb8..94de208 100755 --- a/src/KM_prng.cpp +++ b/src/KM_prng.cpp @@ -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; } |
