summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 701012043d..7c061d3b40 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -2552,6 +2552,7 @@ networkstatus_parse_detached_signatures(const char *s, const char *eos)
}
tok = find_first_by_keyword(tokens, K_CONSENSUS_DIGEST);
+ tor_assert(tok);
if (strlen(tok->args[0]) != HEX_DIGEST_LEN) {
log_warn(LD_DIR, "Wrong length on consensus-digest in detached "
"networkstatus signatures");