Also reinitialize the pregenerated keys postfork.

This commit is contained in:
Nick Mathewson 2018-07-31 18:42:42 -04:00
parent b94e7de7db
commit cb5cfe3177

View File

@ -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