aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirauth/dsigs_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/dirauth/dsigs_parse.c')
-rw-r--r--src/feature/dirauth/dsigs_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/dirauth/dsigs_parse.c b/src/feature/dirauth/dsigs_parse.c
index d88176fee9..c5c8e18866 100644
--- a/src/feature/dirauth/dsigs_parse.c
+++ b/src/feature/dirauth/dsigs_parse.c
@@ -127,7 +127,7 @@ networkstatus_parse_detached_signatures(const char *s, const char *eos)
}
digests = detached_get_digests(sigs, flavor);
tor_assert(digests);
- if (!tor_mem_is_zero(digests->d[alg], digest_length)) {
+ if (!fast_mem_is_zero(digests->d[alg], digest_length)) {
log_warn(LD_DIR, "Multiple digests for %s with %s on detached "
"signatures document", flavor, algname);
continue;