diff options
author | teor <teor@torproject.org> | 2019-02-27 14:57:35 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-02-27 15:06:53 +1000 |
commit | d4b7975ce70fc93671136445c95c2009408cfe70 (patch) | |
tree | 2e34fc8aca015d294e67bcc8641c66695e3dddfb | |
parent | 64e082e892a87b0565677272c412c23903f51f5c (diff) | |
download | tor-d4b7975ce70fc93671136445c95c2009408cfe70.tar.gz tor-d4b7975ce70fc93671136445c95c2009408cfe70.zip |
test/shared-random: use sr_state_free_all() rather than sr_state_free()
sr_state_free() was renamed to sr_state_free_all() between 0.2.9 and 0.3.3.
Part of 29599.
-rw-r--r-- | src/test/test_shared_random.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_shared_random.c b/src/test/test_shared_random.c index 2283976415..2f762dc90c 100644 --- a/src/test/test_shared_random.c +++ b/src/test/test_shared_random.c @@ -687,7 +687,7 @@ test_vote(void *arg) done: UNMOCK(trusteddirserver_get_by_v3_auth_digest); - sr_state_free(); + sr_state_free_all(); } static const char *sr_state_str = "Version 1\n" @@ -921,7 +921,7 @@ test_sr_compute_srv(void *arg) done: UNMOCK(trusteddirserver_get_by_v3_auth_digest); - sr_state_free(); + sr_state_free_all(); } /** Return a minimal vote document with a current SRV value set to @@ -1187,7 +1187,7 @@ test_state_transition(void *arg) } done: - sr_state_free(); + sr_state_free_all(); } static void |