[tor-commits] [tor/master] Also reinitialize the pregenerated keys postfork.
nickm at torproject.org
nickm at torproject.org
Wed Sep 5 00:47:14 UTC 2018
commit cb5cfe3177bbf841e5ad18c0103b3d2ebe443e07
Author: Nick Mathewson <nickm at 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
More information about the tor-commits
mailing list