summaryrefslogtreecommitdiff
path: root/src/feature/dirauth
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-11-05 10:18:47 -0500
committerNick Mathewson <nickm@torproject.org>2019-11-07 07:28:43 -0500
commit0f0a9bdf332002bb0542dae6bb00e922af5dcf63 (patch)
tree4a25bc3928f62bd08c49c55ff1345db5fa8b91f6 /src/feature/dirauth
parent0d8504e70b0c6ff92f38fc7f4b4c38037d121e69 (diff)
downloadtor-0f0a9bdf332002bb0542dae6bb00e922af5dcf63.tar.gz
tor-0f0a9bdf332002bb0542dae6bb00e922af5dcf63.zip
Stop using "config_suite_offset=-1" to indicate "no config suite."
Instead, create a separate "has_config_suite" boolean, so that only top-level formats with config_suites need to declare an offset at all.
Diffstat (limited to 'src/feature/dirauth')
-rw-r--r--src/feature/dirauth/shared_random_state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/feature/dirauth/shared_random_state.c b/src/feature/dirauth/shared_random_state.c
index 759b3b8104..bf4302f168 100644
--- a/src/feature/dirauth/shared_random_state.c
+++ b/src/feature/dirauth/shared_random_state.c
@@ -92,7 +92,6 @@ static const config_format_t state_format = {
},
.vars = state_vars,
.extra = &state_extra_var,
- .config_suite_offset = -1,
};
/** Global configuration manager for the shared-random state file */