aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/bug215864
-rw-r--r--src/or/main.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/changes/bug21586 b/changes/bug21586
new file mode 100644
index 0000000000..200d55a8e8
--- /dev/null
+++ b/changes/bug21586
@@ -0,0 +1,4 @@
+ o Minor bugfix (directory authority):
+ - Prevent the shared randomness subsystem from asserting when initialized
+ by a bridge authority with an incomplete configuration file. Fixes bug
+ #21856; bugfix on 0.2.9.8.
diff --git a/src/or/main.c b/src/or/main.c
index 5549f97998..475587eacd 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -2405,7 +2405,7 @@ do_main_loop(void)
}
/* Setup shared random protocol subsystem. */
- if (authdir_mode_publishes_statuses(get_options())) {
+ if (authdir_mode_v3(get_options())) {
if (sr_init(1) < 0) {
return -1;
}