summaryrefslogtreecommitdiff
path: root/src/or/consdiff.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/consdiff.h')
-rw-r--r--src/or/consdiff.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/or/consdiff.h b/src/or/consdiff.h
index eef3653f69..7797067f32 100644
--- a/src/or/consdiff.h
+++ b/src/or/consdiff.h
@@ -62,8 +62,13 @@ STATIC int smartlist_slice_string_pos(const smartlist_slice_t *slice,
STATIC void set_changed(bitarray_t *changed1, bitarray_t *changed2,
const smartlist_slice_t *slice1,
const smartlist_slice_t *slice2);
-STATIC int consensus_compute_digest(const char *cons,
- consensus_digest_t *digest_out);
+
+MOCK_DECL(STATIC int,
+ consensus_compute_digest,(const char *cons,
+ consensus_digest_t *digest_out));
+MOCK_DECL(STATIC int,
+ consensus_digest_eq,(const uint8_t *d1,
+ const uint8_t *d2));
#endif
#endif