mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
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.
This commit is contained in:
parent
64e082e892
commit
d4b7975ce7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user