summaryrefslogtreecommitdiff
path: root/src/or/hs_common.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-05-01 10:15:28 -0400
committerDavid Goulet <dgoulet@torproject.org>2018-05-01 10:15:28 -0400
commitd8509b450a1de815399a42b5df8c6b25789429c7 (patch)
treec92a99a4e734d900456014c4a010909c90da9baa /src/or/hs_common.c
parent15e8ce39379fde7b6cddb4b06b3d8e01fadd4867 (diff)
downloadtor-d8509b450a1de815399a42b5df8c6b25789429c7.tar.gz
tor-d8509b450a1de815399a42b5df8c6b25789429c7.zip
vote: Return error when adding vote/signature if no dirauth module
Commit 0f3b765b3c8ba6f4f105440861e87ecaf4ea4323 added tor_assert_nonfatal_unreached() to dirvote_add_vote() and dirvote_add_signatures() when the dirauth module is disabled. However, they need to return a value. Furthermore, the dirvote_add_vote() needs to set the msg_out and status_out so it can be sent back. Else, uninitialized values would be used. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_common.c')
0 files changed, 0 insertions, 0 deletions