Commit 7945e075 authored by Nick Mathewson's avatar Nick Mathewson
Browse files

Fix underflow in rend_cache/free_all test.

We already fixed these in #40099 and #40125.

This patch fixes #40126.  Bugfix on
parent 47f1d19f
o Testing (onion service v2):
- Fix another rendezvous cache unit test that was triggering an underflow on the
global rend cache allocation. Fixes bug 40126; bugfix on
......@@ -954,6 +954,7 @@ test_rend_cache_free_all(void *data)
one->parsed = desc_one;
desc_one->timestamp = time(NULL) + TIME_IN_THE_PAST;
desc_one->pk = pk_generate(0);
strmap_set_lc(rend_cache, "foo1", one);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment