summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-11-30 02:47:59 +0000
committerNick Mathewson <nickm@torproject.org>2005-11-30 02:47:59 +0000
commit6b49a93bd5d5446799ba77daa82640e87321af26 (patch)
treed9cdab183210aac7c6a104af28defb469dad90a5 /src/common/util.h
parent447a3a7ff273e528ce2e0227925b986a80bcbde4 (diff)
downloadtor-6b49a93bd5d5446799ba77daa82640e87321af26.tar.gz
tor-6b49a93bd5d5446799ba77daa82640e87321af26.zip
Move code to check for zero digests into util.c
svn:r5468
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index eabd4278b9..d9b253dc36 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -111,6 +111,7 @@ const char *hex_str(const char *from, size_t fromlen);
const char *eat_whitespace(const char *s);
const char *eat_whitespace_no_nl(const char *s);
const char *find_whitespace(const char *s);
+int tor_digest_is_zero(const char *digest);
void base16_encode(char *dest, size_t destlen, const char *src, size_t srclen);
int base16_decode(char *dest, size_t destlen, const char *src, size_t srclen);