commit 5542ad8a1b60289ceb4c3bd550fdaf5e6458fd0e
parent 732e70214f74a52b9259bc9bab5f53fb042b5968
Author: Alexander Hansen Færøy <ahf@torproject.org>
Date: Tue, 27 Jan 2026 17:28:24 +0100
Fix typo caught by @Unicorn in tor!938.
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/test/include.am b/src/test/include.am
@@ -365,6 +365,7 @@ src_test_test_timers_LDFLAGS = $(src_test_test_LDFLAGS)
# ADD_C_FILE: INSERT HEADERS HERE.
noinst_HEADERS+= \
+ src/test/compression_bomb.h \
src/test/fakechans.h \
src/test/fakecircs.h \
src/test/hs_test_helpers.h \
diff --git a/src/test/test_util.c b/src/test/test_util.c
@@ -2877,7 +2877,7 @@ test_util_decompress_dos_impl(compress_method_t method)
int r;
const size_t big = 5*1024*1024;
- /* one megabyte of 0s. */
+ /* five megabytes of 0s. */
input = tor_malloc_zero(big);
/* Compress it into "result": it should fail. */
@@ -2952,7 +2952,7 @@ test_util_gzip_compression_bomb(void *arg)
teardown_capture_of_logs();
/* Here's a compression bomb that we made manually. */
- #include "compression_bomb.h"
+ #include "test/compression_bomb.h"
tt_int_op(-1, OP_EQ, tor_uncompress(&result, &result_len,
compression_bomb_gzip,