diff options
author | George Kadianakis <desnacked@riseup.net> | 2019-05-29 21:28:04 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-05-29 21:28:04 +0300 |
commit | d8bd98b2fde088d7e277854ceeb69e0a2ba080de (patch) | |
tree | 58be7c9074cdcf4a574dee7746b5333d8fa7311e /src/test/rng_test_helpers.c | |
parent | 70553a91343e242e05e569d59584674a21d09679 (diff) | |
parent | 6246f4539ed317e05b773b0e373f1aa369d3759d (diff) | |
download | tor-d8bd98b2fde088d7e277854ceeb69e0a2ba080de.tar.gz tor-d8bd98b2fde088d7e277854ceeb69e0a2ba080de.zip |
Merge branch 'tor-github/pr/1032'
Diffstat (limited to 'src/test/rng_test_helpers.c')
-rw-r--r-- | src/test/rng_test_helpers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/rng_test_helpers.c b/src/test/rng_test_helpers.c index f4e8df7e7b..7024fb5793 100644 --- a/src/test/rng_test_helpers.c +++ b/src/test/rng_test_helpers.c @@ -198,6 +198,7 @@ void testing_enable_prefilled_rng(const void *buffer, size_t buflen) { tor_assert(buflen > 0); + tor_assert(!rng_mutex); rng_mutex = tor_mutex_new(); tor_mutex_acquire(rng_mutex); |