aboutsummaryrefslogtreecommitdiff
path: root/src/common/compress.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/compress.h')
-rw-r--r--src/common/compress.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/compress.h b/src/common/compress.h
index ecb20668e4..23a9817479 100644
--- a/src/common/compress.h
+++ b/src/common/compress.h
@@ -45,7 +45,8 @@ int tor_uncompress(char **out, size_t *out_len,
compress_method_t detect_compression_method(const char *in, size_t in_len);
-int tor_compress_is_compression_bomb(size_t size_in, size_t size_out);
+MOCK_DECL(int,tor_compress_is_compression_bomb,(size_t size_in,
+ size_t size_out));
int tor_compress_supports_method(compress_method_t method);
unsigned tor_compress_get_supported_method_bitmask(void);