summaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-11 16:32:30 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-11 16:32:30 -0400
commit8fb38331c3213caef2d2e003e02cdb361504f14f (patch)
treea88cbac5893169b1a955543828b2db0aa85d00bb /src/or/routerlist.c
parent0cbcbc3412b667537b6ec54da0a4c9173a19d6de (diff)
downloadtor-8fb38331c3213caef2d2e003e02cdb361504f14f.tar.gz
tor-8fb38331c3213caef2d2e003e02cdb361504f14f.zip
Hand-tune the new tor_memcmp instances in 0.2.2
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index c54025b8b0..6c649ab526 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -3105,7 +3105,7 @@ routerlist_replace(routerlist_t *rl, routerinfo_t *ri_old,
sdmap_remove(rl->desc_digest_map,
ri_old->cache_info.signed_descriptor_digest);
- if (tor_memcmp(ri_old->cache_info.extra_info_digest,
+ if (tor_memneq(ri_old->cache_info.extra_info_digest,
ri_new->cache_info.extra_info_digest, DIGEST_LEN)) {
ei_tmp = eimap_remove(rl->extra_info_map,
ri_old->cache_info.extra_info_digest);