[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit aeb9373158df00d77d26245c7524db3d5f1e515c
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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;

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits