diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-02-24 11:06:44 -0500 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2020-03-03 14:35:01 +0200 |
commit | 9fb18756df3f76545f8f591881a95e1e09e735a0 (patch) | |
tree | ec3fc17cafd8df950a7d5704526fe3e428bd37ed /src/feature/hs_common/shared_random_client.h | |
parent | 7777f1df495c0f6f778a4d2378d5ddb89f985bda (diff) | |
download | tor-9fb18756df3f76545f8f591881a95e1e09e735a0.tar.gz tor-9fb18756df3f76545f8f591881a95e1e09e735a0.zip |
Stop using all dirauth-only options in shared_random_client.c
This is not as clean a patch as I would like: see the comment on
ASSUME_AUTHORITY_SCHEDULING. This issue here is that the unit tests
sometimes assume that we are going to be looking at the dirauth
options and behaving like a dirauth, but without setting the options
to turn is into one.
This isn't an issue for actually running Tor, as far as I can tell
with chutney.
Diffstat (limited to 'src/feature/hs_common/shared_random_client.h')
-rw-r--r-- | src/feature/hs_common/shared_random_client.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/feature/hs_common/shared_random_client.h b/src/feature/hs_common/shared_random_client.h index 3031a2bb9a..37a086d590 100644 --- a/src/feature/hs_common/shared_random_client.h +++ b/src/feature/hs_common/shared_random_client.h @@ -38,11 +38,9 @@ time_t sr_state_get_start_time_of_current_protocol_run(void); time_t sr_state_get_start_time_of_previous_protocol_run(void); unsigned int sr_state_get_phase_duration(void); unsigned int sr_state_get_protocol_run_duration(void); -time_t get_start_time_of_current_round(void); #ifdef TOR_UNIT_TESTS #endif /* TOR_UNIT_TESTS */ #endif /* !defined(TOR_SHARED_RANDOM_CLIENT_H) */ - |