aboutsummaryrefslogtreecommitdiff
path: root/src/or/consdiff.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-05-03 11:48:08 -0400
committerNick Mathewson <nickm@torproject.org>2017-05-03 13:09:08 -0400
commit5acddbbbf74199b46eef75cbbeb11ea6aad9326f (patch)
tree87615a56e6fe2f56871add6092c92fa21ccb3d53 /src/or/consdiff.h
parent77d9dd39c36a4da609c878840be35c515104fb9a (diff)
downloadtor-5acddbbbf74199b46eef75cbbeb11ea6aad9326f.tar.gz
tor-5acddbbbf74199b46eef75cbbeb11ea6aad9326f.zip
bug#22143/prop#140: identify input diffs by their digest-as-signed
See may 3 changes to prop140 for more background.
Diffstat (limited to 'src/or/consdiff.h')
-rw-r--r--src/or/consdiff.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/consdiff.h b/src/or/consdiff.h
index e9d175136e..284a576525 100644
--- a/src/or/consdiff.h
+++ b/src/or/consdiff.h
@@ -85,6 +85,9 @@ MOCK_DECL(STATIC int,
consensus_compute_digest,(const char *cons,
consensus_digest_t *digest_out));
MOCK_DECL(STATIC int,
+ consensus_compute_digest_as_signed,(const char *cons,
+ consensus_digest_t *digest_out));
+MOCK_DECL(STATIC int,
consensus_digest_eq,(const uint8_t *d1,
const uint8_t *d2));
#endif