Преглед изворни кода

Also reinitialize the pregenerated keys postfork.

Nick Mathewson пре 5 година
родитељ
комит
cb5cfe3177
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      src/test/testing_common.c

+ 2 - 0
src/test/testing_common.c

@@ -227,7 +227,9 @@ void tinytest_postfork(void);
 void
 tinytest_postfork(void)
 {
+  free_pregenerated_keys();
   crypto_postfork();
+  init_pregenerated_keys();
 }
 
 /** Main entry point for unit test code: parse the command line, and run