commit 53914f7dae6ad01e6413329271664ea9031385c0
Author: Gisle Vanem <gisle.vanem(a)gmail.com>
Date: Tue Mar 13 23:19:55 2018 +0000
tests: Fix crash on win32 due to uninitialised mutex in bench.c.
Signed-off-by: Isis Lovecruft <isis(a)torproject.org>
---
src/test/bench.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/test/bench.c b/src/test/bench.c
index 24ff8b255..92d7a244f 100644
--- a/src/test/bench.c
+++ b/src/test/bench.c
@@ -713,6 +713,8 @@ main(int argc, const char **argv)
printf("Couldn't seed RNG; exiting.\n");
return 1;
}
+
+ init_protocol_warning_severity_level();
crypto_init_siphash_key();
options = options_new();
init_logging(1);