Explorar o código

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


svn:r11516

Nick Mathewson %!s(int64=18) %!d(string=hai) anos
pai
achega
faeedbb8af
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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");