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_state.c | |
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_state.c')
-rw-r--r-- | src/or/shared_random_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/shared_random_state.c b/src/or/shared_random_state.c index cce0c99939..705c586ae5 100644 --- a/src/or/shared_random_state.c +++ b/src/or/shared_random_state.c @@ -589,7 +589,7 @@ disk_state_put_srv_line(const sr_srv_t *srv, config_line_t *line) if (srv == NULL) { return; } - sr_srv_encode(encoded, srv); + sr_srv_encode(encoded, sizeof(encoded), srv); tor_asprintf(&line->value, "%d %s", srv->num_reveals, encoded); } |