tests: Fix crash on win32 due to uninitialised mutex in bench.c.

Signed-off-by: Isis Lovecruft <isis@torproject.org>
This commit is contained in:
Gisle Vanem 2018-03-13 23:19:55 +00:00 committed by Nick Mathewson
parent 296e429ebc
commit 53914f7dae

View File

@ -713,6 +713,8 @@ main(int argc, const char **argv)
printf("Couldn't seed RNG; exiting.\n"); printf("Couldn't seed RNG; exiting.\n");
return 1; return 1;
} }
init_protocol_warning_severity_level();
crypto_init_siphash_key(); crypto_init_siphash_key();
options = options_new(); options = options_new();
init_logging(1); init_logging(1);