summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/testing_common.c2
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