diff options
author | David Goulet <dgoulet@torproject.org> | 2016-05-17 16:10:20 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2016-07-01 14:01:41 -0400 |
commit | 5fe9a50c310b8af4c9447475ec9e3748b24984f0 (patch) | |
tree | 473d72fe8f1b06187b630f6a420319b3525eb05c /src/or/shared_random.h | |
parent | d43646e191dec6f800f63acb6a6861190b77d86f (diff) | |
download | tor-5fe9a50c310b8af4c9447475ec9e3748b24984f0.tar.gz tor-5fe9a50c310b8af4c9447475ec9e3748b24984f0.zip |
prop250: Pass the dst length to sr_srv_encode()
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/shared_random.h')
-rw-r--r-- | src/or/shared_random.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/shared_random.h b/src/or/shared_random.h index f89f47a11b..4b16d26702 100644 --- a/src/or/shared_random.h +++ b/src/or/shared_random.h @@ -114,7 +114,7 @@ sr_srv_t *sr_parse_srv(const smartlist_t *args); char *sr_get_string_for_vote(void); char *sr_get_string_for_consensus(const smartlist_t *votes); void sr_commit_free(sr_commit_t *commit); -void sr_srv_encode(char *dst, const sr_srv_t *srv); +void sr_srv_encode(char *dst, size_t dst_len, const sr_srv_t *srv); /* Private methods (only used by shared_random_state.c): */ static inline |