[tor/master] Also reinitialize the pregenerated keys postfork.

5 Sep
2018
5 Sep
'18
12:47 a.m.
commit cb5cfe3177bbf841e5ad18c0103b3d2ebe443e07 Author: Nick Mathewson <nickm@torproject.org> Date: Tue Jul 31 18:42:42 2018 -0400 Also reinitialize the pregenerated keys postfork. --- src/test/testing_common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/testing_common.c b/src/test/testing_common.c index 6957342c6..17a075680 100644 --- a/src/test/testing_common.c +++ b/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
2499
Age (days ago)
2499
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org