Replace all remaining tor_mem_is_zero() with fast_mem_is_zero()

This commit is contained in:
Nick Mathewson
2019-04-30 14:49:05 -04:00
parent 0034f10956
commit 295feeb093
38 changed files with 83 additions and 86 deletions
+1 -1
View File
@@ -1478,7 +1478,7 @@ networkstatus_parse_vote_from_string(const char *s,
SMARTLIST_FOREACH_BEGIN(ns->routerstatus_list, vote_routerstatus_t *,
vrs) {
if (! vrs->has_ed25519_listing ||
tor_mem_is_zero((const char *)vrs->ed25519_id, DIGEST256_LEN))
fast_mem_is_zero((const char *)vrs->ed25519_id, DIGEST256_LEN))
continue;
if (digest256map_get(ed_id_map, vrs->ed25519_id) != NULL) {
log_warn(LD_DIR, "Vote networkstatus ed25519 identities were not "