From faeedbb8af87aebcf2ebd66c937994d11b5343fd Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 19 Sep 2007 15:53:33 +0000 Subject: [PATCH] r15167@catbus: nickm | 2007-09-19 11:19:08 -0400 Fix unit tests for rendezvous descriptor parsing. svn:r11516 --- src/or/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");