diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-11-02 18:00:56 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-11-05 09:22:02 -0500 |
commit | cad61f0f6de48c6eab6e811a081f154b03de57b8 (patch) | |
tree | 9a3e3cb610f7a0315e5f3c56795176eba9ed1065 /src/test/testing_common.c | |
parent | 50436ccea4bd200e45196ccce7acff28f293a4de (diff) | |
download | tor-cad61f0f6de48c6eab6e811a081f154b03de57b8.tar.gz tor-cad61f0f6de48c6eab6e811a081f154b03de57b8.zip |
Move prefork, postfork, and thread-exit hooks into subsys
So far, crypto is the only module that uses them, but others are
likely to do so in the future.
Diffstat (limited to 'src/test/testing_common.c')
-rw-r--r-- | src/test/testing_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/testing_common.c b/src/test/testing_common.c index d4c5632334..1362f29711 100644 --- a/src/test/testing_common.c +++ b/src/test/testing_common.c @@ -232,12 +232,12 @@ void tinytest_prefork(void) { free_pregenerated_keys(); - crypto_prefork(); + subsystems_prefork(); } void tinytest_postfork(void) { - crypto_postfork(); + subsystems_postfork(); init_pregenerated_keys(); } |