summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-09-19 15:53:33 +0000
committerNick Mathewson <nickm@torproject.org>2007-09-19 15:53:33 +0000
commitfaeedbb8af87aebcf2ebd66c937994d11b5343fd (patch)
treef0dc796a84836914e4087a123a15563d4d37f04b
parenta12debab1babac814c8ae4489950ade2a90127c1 (diff)
downloadtor-faeedbb8af87aebcf2ebd66c937994d11b5343fd.tar.gz
tor-faeedbb8af87aebcf2ebd66c937994d11b5343fd.zip
r15167@catbus: nickm | 2007-09-19 11:19:08 -0400
Fix unit tests for rendezvous descriptor parsing. svn:r11516
-rw-r--r--src/or/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c
index 38d57901dc..124fdff72f 100644
--- a/src/or/test.c
+++ b/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");