소스 검색

Prevent SRV assert when called from misconfigured bridge auth.

George Kadianakis 7 년 전
부모
커밋
931948ac6a
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 0
      changes/bug21586
  2. 1 1
      src/or/main.c

+ 4 - 0
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.

+ 1 - 1
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;
     }