aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-12-19 15:11:27 -0500
committerNick Mathewson <nickm@torproject.org>2017-01-30 08:37:24 -0500
commitb1567cf500044be4d6c97e4ef65345acb4aa70ff (patch)
treeb1f4c05392d00fc5e37b67ca0b67578788d0c447 /src/or/routerparse.h
parent83e9918107dba1b969a226b79e1d37a852339e45 (diff)
downloadtor-b1567cf500044be4d6c97e4ef65345acb4aa70ff.tar.gz
tor-b1567cf500044be4d6c97e4ef65345acb4aa70ff.zip
Three more fuzzers: consensus, hsdesc, intro points
Diffstat (limited to 'src/or/routerparse.h')
-rw-r--r--src/or/routerparse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routerparse.h b/src/or/routerparse.h
index a461d6794f..8eea989e31 100644
--- a/src/or/routerparse.h
+++ b/src/or/routerparse.h
@@ -123,6 +123,8 @@ MOCK_DECL(STATIC void,dump_desc,(const char *desc, const char *type));
MOCK_DECL(STATIC int, router_compute_hash_final,(char *digest,
const char *start, size_t len,
digest_algorithm_t alg));
+MOCK_DECL(STATIC int, signed_digest_equals,
+ (const uint8_t *d1, const uint8_t *d2, size_t len));
#endif
#define ED_DESC_SIGNATURE_PREFIX "Tor router descriptor signature v1"