瀏覽代碼

Merge branch 'maint-0.3.3'

Nick Mathewson 7 年之前
父節點
當前提交
92c60b572c
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 4 0
      changes/bug25479
  2. 2 0
      src/test/bench.c

+ 4 - 0
changes/bug25479

@@ -0,0 +1,4 @@
+  o Major bugfixes (benchmarks):
+    - Fix a crash when running benchmark tests on win32 systems which
+      was due to an uninitialised mutex before logging and options
+      were initialised.  Fixes bug 25479; bugfix on 0.3.3.3-alpha.

+ 2 - 0
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);