diff options
author | Gisle Vanem <gisle.vanem@gmail.com> | 2018-03-13 23:19:55 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-03-19 05:38:19 -0400 |
commit | 53914f7dae6ad01e6413329271664ea9031385c0 (patch) | |
tree | cddf4e8a77572757ee644aaac7f4896c93caa7f9 /src/test | |
parent | 296e429ebcb676b39a574bf8e8850c53bb659d74 (diff) | |
download | tor-53914f7dae6ad01e6413329271664ea9031385c0.tar.gz tor-53914f7dae6ad01e6413329271664ea9031385c0.zip |
tests: Fix crash on win32 due to uninitialised mutex in bench.c.
Signed-off-by: Isis Lovecruft <isis@torproject.org>
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/bench.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/bench.c b/src/test/bench.c index 24ff8b255c..92d7a244f7 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); |