소스 검색

Merge branch 'maint-0.3.4'

Nick Mathewson 5 년 전
부모
커밋
11161395af
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/feature/hs/hs_intropoint.c

+ 1 - 1
src/feature/hs/hs_intropoint.c

@@ -61,7 +61,7 @@ get_auth_key_from_cell(ed25519_public_key_t *auth_key_out,
   default:
     /* Getting here is really bad as it means we got a unknown cell type from
      * this file where every call has an hardcoded value. */
-    tor_assert(0); /* LCOV_EXCL_LINE */
+    tor_assert_unreached(); /* LCOV_EXCL_LINE */
   }
   tor_assert(key_array);
   tor_assert(auth_key_len == sizeof(auth_key_out->pubkey));