diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-31 18:42:42 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-08-21 12:24:08 -0400 |
commit | cb5cfe3177bbf841e5ad18c0103b3d2ebe443e07 (patch) | |
tree | 0e3f00d90220c00accd134ef2810e8745ef6b5ef /src/test | |
parent | b94e7de7dbf31a9b9bfe2d376013e279f15500f8 (diff) | |
download | tor-cb5cfe3177bbf841e5ad18c0103b3d2ebe443e07.tar.gz tor-cb5cfe3177bbf841e5ad18c0103b3d2ebe443e07.zip |
Also reinitialize the pregenerated keys postfork.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/testing_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/testing_common.c b/src/test/testing_common.c index 6957342c62..17a0756803 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 |