소스 검색

r15167@catbus: nickm | 2007-09-19 11:19:08 -0400
Fix unit tests for rendezvous descriptor parsing.


svn:r11516

Nick Mathewson 18 년 전
부모
커밋
faeedbb8af
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/or/test.c

+ 1 - 1
src/or/test.c

@@ -2934,7 +2934,7 @@ test_rend_fns(void)
   test_assert(!crypto_pk_cmp_keys(d1->pk, d2->pk));
   test_eq(d2->timestamp, now);
   test_eq(d2->version, 0);
-  test_eq(d2->protocols, 1);
+  test_eq(d2->protocols, 1<<2);
   test_eq(d2->n_intro_points, 3);
   test_streq(d2->intro_points[0], "tom");
   test_streq(d2->intro_points[1], "crow");