diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-05-11 16:32:30 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-05-11 16:32:30 -0400 |
commit | 8fb38331c3213caef2d2e003e02cdb361504f14f (patch) | |
tree | a88cbac5893169b1a955543828b2db0aa85d00bb /src/or/microdesc.c | |
parent | 0cbcbc3412b667537b6ec54da0a4c9173a19d6de (diff) | |
download | tor-8fb38331c3213caef2d2e003e02cdb361504f14f.tar.gz tor-8fb38331c3213caef2d2e003e02cdb361504f14f.zip |
Hand-tune the new tor_memcmp instances in 0.2.2
Diffstat (limited to 'src/or/microdesc.c')
-rw-r--r-- | src/or/microdesc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/microdesc.c b/src/or/microdesc.c index 139f2f8b5e..b87e0d9dcb 100644 --- a/src/or/microdesc.c +++ b/src/or/microdesc.c @@ -414,7 +414,7 @@ microdesc_cache_rebuild(microdesc_cache_t *cache, int force) SMARTLIST_FOREACH_BEGIN(wrote, microdesc_t *, md) { tor_assert(md->saved_location == SAVED_IN_CACHE); md->body = (char*)cache->cache_content->data + md->off; - tor_assert(tor_memeq(md->body, "onion-key", 9)); + tor_assert(fast_memeq(md->body, "onion-key", 9)); } SMARTLIST_FOREACH_END(md); smartlist_free(wrote); |