aboutsummaryrefslogtreecommitdiff
path: root/src/feature/nodelist/microdesc.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-04-30 14:49:05 -0400
committerNick Mathewson <nickm@torproject.org>2019-04-30 14:49:05 -0400
commit295feeb09377c4d78f9ee43ec3197b908d7cb960 (patch)
tree9fe43c9444b3812bc585487e20442056a2d08735 /src/feature/nodelist/microdesc.c
parent0034f1095680e2b05c19ec13368ddc936a53058a (diff)
downloadtor-295feeb09377c4d78f9ee43ec3197b908d7cb960.tar.gz
tor-295feeb09377c4d78f9ee43ec3197b908d7cb960.zip
Replace all remaining tor_mem_is_zero() with fast_mem_is_zero()
Diffstat (limited to 'src/feature/nodelist/microdesc.c')
-rw-r--r--src/feature/nodelist/microdesc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/nodelist/microdesc.c b/src/feature/nodelist/microdesc.c
index 36922561a0..db2149754a 100644
--- a/src/feature/nodelist/microdesc.c
+++ b/src/feature/nodelist/microdesc.c
@@ -970,7 +970,7 @@ microdesc_list_missing_digest256(networkstatus_t *ns, microdesc_cache_t *cache,
continue;
if (skip && digest256map_get(skip, (const uint8_t*)rs->descriptor_digest))
continue;
- if (tor_mem_is_zero(rs->descriptor_digest, DIGEST256_LEN))
+ if (fast_mem_is_zero(rs->descriptor_digest, DIGEST256_LEN))
continue;
/* XXXX Also skip if we're a noncache and wouldn't use this router.
* XXXX NM Microdesc