aboutsummaryrefslogtreecommitdiff
path: root/src/lib/string
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/lib/string
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/lib/string')
-rw-r--r--src/lib/string/util_string.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/string/util_string.h b/src/lib/string/util_string.h
index 7e8af0578c..b3c6841d41 100644
--- a/src/lib/string/util_string.h
+++ b/src/lib/string/util_string.h
@@ -24,9 +24,6 @@ int fast_mem_is_zero(const char *mem, size_t len);
#define fast_digest_is_zero(d) fast_mem_is_zero((d), DIGEST_LEN)
#define fast_digetst256_is_zero(d) fast_mem_is_zero((d), DIGEST256_LEN)
-// XXXX remove this after we replace all users.
-#define tor_mem_is_zero fast_mem_is_zero
-
int tor_digest_is_zero(const char *digest);
int tor_digest256_is_zero(const char *digest);