]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix typo caught by @Unicorn in tor!938.
authorAlexander Hansen Færøy <ahf@torproject.org>
Tue, 27 Jan 2026 16:28:24 +0000 (17:28 +0100)
committerAlexander Hansen Færøy <ahf@torproject.org>
Tue, 27 Jan 2026 19:59:34 +0000 (20:59 +0100)
src/test/include.am
src/test/test_util.c

index b3e3f8bbf201e8eb253e9ce53d9432e9f28a7a16..d158f78f427160f7255aa1dae8669c7b1faf80af 100644 (file)
@@ -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 \
index bb6d19d0637a1952694d506fe9e2be335e3d9b2b..32fdc1019bb925c47ef244e3ddf3091ebcdb5be2 100644 (file)
@@ -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,