[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Also reinitialize the pregenerated keys postfork.
commit cb5cfe3177bbf841e5ad18c0103b3d2ebe443e07
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits