aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirauth/shared_random_state.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-03-05 08:23:32 -0500
committerNick Mathewson <nickm@torproject.org>2020-03-05 08:23:32 -0500
commit686494f0f71b9235399b8241aba3e0c2fcb03ea1 (patch)
tree39256173e40ef50d45cc35c22561da9279f9753b /src/feature/dirauth/shared_random_state.c
parentedc0bf5089df13d1d6a246e67bddb484ac99ad59 (diff)
parentb5ccdd978ea138cde92b3513c9d653ba18b8b463 (diff)
downloadtor-686494f0f71b9235399b8241aba3e0c2fcb03ea1.tar.gz
tor-686494f0f71b9235399b8241aba3e0c2fcb03ea1.zip
Merge branch 'clang_format_prep_3'
Diffstat (limited to 'src/feature/dirauth/shared_random_state.c')
-rw-r--r--src/feature/dirauth/shared_random_state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/dirauth/shared_random_state.c b/src/feature/dirauth/shared_random_state.c
index c15f8c9937..598d781557 100644
--- a/src/feature/dirauth/shared_random_state.c
+++ b/src/feature/dirauth/shared_random_state.c
@@ -60,6 +60,7 @@ DUMMY_TYPECHECK_INSTANCE(sr_disk_state_t);
#define SR_DISK_STATE_MAGIC 0x98AB1254
/** Array of variables that are saved to disk as a persistent state. */
+// clang-format off
static const config_var_t state_vars[] = {
V(Version, POSINT, "0"),
V(TorVersion, STRING, NULL),
@@ -73,6 +74,7 @@ static const config_var_t state_vars[] = {
VAR("SharedRandCurrentValue", LINELIST_S, SharedRandValues, NULL),
END_OF_CONFIG_VARS
};
+// clang-format on
/** "Extra" variable in the state that receives lines we can't parse. This
* lets us preserve options from versions of Tor newer than us. */