[tor/master] Fix 32-bit case of rend_cache/entry_allocation

7 Oct
2015
7 Oct
'15
6:31 p.m.
commit aeb9373158df00d77d26245c7524db3d5f1e515c Author: Nick Mathewson <nickm@torproject.org> Date: Wed Oct 7 14:31:21 2015 -0400 Fix 32-bit case of rend_cache/entry_allocation --- src/test/test_rendcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/test_rendcache.c b/src/test/test_rendcache.c index 6075d39..01eeecb 100644 --- a/src/test/test_rendcache.c +++ b/src/test/test_rendcache.c @@ -1138,7 +1138,7 @@ test_rend_cache_entry_allocation(void *data) // Handles a non-null argument e = tor_malloc_zero(sizeof(rend_cache_entry_t)); ret = rend_cache_entry_allocation(e); - tt_int_op(ret, OP_EQ, 88); + tt_int_op(ret, OP_GT, sizeof(rend_cache_entry_t)); done: (void)0;
3551
Age (days ago)
3551
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org