Browse Source

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


svn:r11516

Nick Mathewson 16 years ago
parent
commit
faeedbb8af
1 changed files with 1 additions and 1 deletions
  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");