diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-09-14 11:57:19 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-10-15 15:17:12 -0400 |
commit | 8b2f6b27fdc03f12d092d37c42d1995ff7426916 (patch) | |
tree | e43bd2156f445597940f0b9b386920811e7a38de /src/or/or.h | |
parent | 8d41e6c47126fb467858f98b06ab7460dcc6647b (diff) | |
download | tor-8b2f6b27fdc03f12d092d37c42d1995ff7426916.tar.gz tor-8b2f6b27fdc03f12d092d37c42d1995ff7426916.zip |
Make signature-generation code handle different key and digest lengths.
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index f0ea25e07e..d9e883f3e8 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -4911,6 +4911,7 @@ int router_get_networkstatus_v3_hash(const char *s, char *digest); int router_get_extrainfo_hash(const char *s, char *digest); int router_append_dirobj_signature(char *buf, size_t buf_len, const char *digest, + size_t digest_len, crypto_pk_env_t *private_key); int router_parse_list_from_string(const char **s, const char *eos, smartlist_t *dest, |