Commit 931948ac authored by George Kadianakis's avatar George Kadianakis
Browse files

Prevent SRV assert when called from misconfigured bridge auth.

parent efa5bbab
Loading
Loading
Loading
Loading

changes/bug21586

0 → 100644
+4 −0
Original line number Diff line number Diff line
  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.
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }