Browse Source

Fix 32-bit case of rend_cache/entry_allocation

Nick Mathewson 8 years ago
parent
commit
aeb9373158
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/test/test_rendcache.c

+ 1 - 1
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;