mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
r15167@catbus: nickm | 2007-09-19 11:19:08 -0400
Fix unit tests for rendezvous descriptor parsing. svn:r11516
This commit is contained in:
parent
a12debab1b
commit
faeedbb8af
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user