diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-04-18 11:13:36 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-04-18 11:13:36 -0400 |
commit | 8362f8854aa3e36b766724226a3baec4d325c1c0 (patch) | |
tree | d309eb1c3b9502b4323405f1a312f04dd868077c /src/or/routerparse.h | |
parent | cd1cdae0fac33bca359b34dae4062fe87a351661 (diff) | |
parent | 4b15606fa2848f5112599865eb7b15ef2178e66a (diff) | |
download | tor-8362f8854aa3e36b766724226a3baec4d325c1c0.tar.gz tor-8362f8854aa3e36b766724226a3baec4d325c1c0.zip |
Merge branch 'less_charbuf_rebased' into maint-0.2.4
Conflicts:
src/or/dirserv.c
src/or/dirserv.h
src/test/test_dir.c
Diffstat (limited to 'src/or/routerparse.h')
-rw-r--r-- | src/or/routerparse.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/routerparse.h b/src/or/routerparse.h index 7bf7d79073..c65cdc996c 100644 --- a/src/or/routerparse.h +++ b/src/or/routerparse.h @@ -16,11 +16,12 @@ int router_get_router_hash(const char *s, size_t s_len, char *digest); int router_get_dir_hash(const char *s, char *digest); int router_get_runningrouters_hash(const char *s, char *digest); int router_get_networkstatus_v2_hash(const char *s, char *digest); -int router_get_networkstatus_v3_hash(const char *s, char *digest, - digest_algorithm_t algorithm); int router_get_networkstatus_v3_hashes(const char *s, digests_t *digests); int router_get_extrainfo_hash(const char *s, size_t s_len, char *digest); #define DIROBJ_MAX_SIG_LEN 256 +char *router_get_dirobj_signature(const char *digest, + size_t digest_len, + crypto_pk_t *private_key); int router_append_dirobj_signature(char *buf, size_t buf_len, const char *digest, size_t digest_len, |