From 0cbcbc3412b667537b6ec54da0a4c9173a19d6de Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 11 May 2011 16:27:27 -0400 Subject: Re-apply the automated conversion to 0.2.2 to make handle any memcmps that snuck in --- src/common/container.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/container.c') diff --git a/src/common/container.c b/src/common/container.c index 5476c6008..09d4bb131 100644 --- a/src/common/container.c +++ b/src/common/container.c @@ -824,7 +824,7 @@ smartlist_uniq_digests(smartlist_t *sl) static int _compare_digests256(const void **_a, const void **_b) { - return memcmp((const char*)*_a, (const char*)*_b, DIGEST256_LEN); + return tor_memcmp((const char*)*_a, (const char*)*_b, DIGEST256_LEN); } /** Sort the list of DIGEST256_LEN-byte digests into ascending order. */ -- cgit v1.2.3