summaryrefslogtreecommitdiff
path: root/src/test/test_dir_handle_get.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-10-24 11:06:34 -0400
committerNick Mathewson <nickm@torproject.org>2018-10-24 11:06:34 -0400
commit594140574e7366efac693d440a636a1e1cce82ff (patch)
tree9db48ee78a42be30bb19c2c0287f3416185d6a4d /src/test/test_dir_handle_get.c
parent81a5448c187458ea3edcc0a72044a4cfdf0273bf (diff)
downloadtor-594140574e7366efac693d440a636a1e1cce82ff.tar.gz
tor-594140574e7366efac693d440a636a1e1cce82ff.zip
Fix remaining cases of using consensus without a len parameter.
(Thanks to cyberpunks for noting two of them!)
Diffstat (limited to 'src/test/test_dir_handle_get.c')
-rw-r--r--src/test/test_dir_handle_get.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c
index ecb7c1b5fc..b591396913 100644
--- a/src/test/test_dir_handle_get.c
+++ b/src/test/test_dir_handle_get.c
@@ -67,6 +67,8 @@ ENABLE_GCC_WARNING(overlength-strings)
#define NOT_ENOUGH_CONSENSUS_SIGNATURES "HTTP/1.0 404 " \
"Consensus not signed by sufficient number of requested authorities\r\n\r\n"
+#define consdiffmgr_add_consensus consdiffmgr_add_consensus_nulterm
+
static dir_connection_t *
new_dir_conn(void)
{