mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Try to fix memarea test on 32-bit systems
This commit is contained in:
parent
5c596cdbc0
commit
6ceb37971e
@ -2876,7 +2876,7 @@ test_util_memarea(void *arg)
|
||||
memarea_get_stats(area, &initial_allocation, &dummy);
|
||||
|
||||
/* Check for running over an area's size. */
|
||||
for (i = 0; i < 512; ++i) {
|
||||
for (i = 0; i < 4096; ++i) {
|
||||
size_t n = crypto_rand_int(6);
|
||||
p1 = memarea_alloc(area, n);
|
||||
total += n;
|
||||
|
Loading…
Reference in New Issue
Block a user