소스 검색

Merge remote-tracking branch 'public/bug6164' into maint-0.2.4

Nick Mathewson 12 년 전
부모
커밋
aa4fcc4f13
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      src/or/dirserv.c

+ 3 - 2
src/or/dirserv.c

@@ -2434,9 +2434,10 @@ routerstatus_format_entry(char *buf, size_t buf_len,
         return -1;
       }
 
-      /* This assert can fire for the control port, because
+      /* This assert could fire for the control port, because
        * it can request NS documents before all descriptors
-       * have been fetched. */
+       * have been fetched. Therefore, we only do this test when
+       * format != NS_CONTROL_PORT. */
       if (tor_memneq(desc->cache_info.signed_descriptor_digest,
             rs->descriptor_digest,
             DIGEST_LEN)) {