]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix 32-bit case of rend_cache/entry_allocation
authorNick Mathewson <nickm@torproject.org>
Wed, 7 Oct 2015 18:31:21 +0000 (14:31 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 7 Oct 2015 18:31:21 +0000 (14:31 -0400)
src/test/test_rendcache.c

index 6075d394a9feb734c5e935dcef47a4a5a97cc097..01eeecb21ba3ef19b0d990ea514a72018526170e 100644 (file)
@@ -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;