aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirauth/dirvote.h
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-03-20 17:01:06 +1000
committerNick Mathewson <nickm@torproject.org>2020-03-20 07:56:26 -0400
commitd4a74021e5ab9dbaf3bb27c0a52e1fd7f8f792ab (patch)
treed34e4c2215ea3b778ccbc1395dc1d38860dd1f2d /src/feature/dirauth/dirvote.h
parentc478dc9b2f6c320cc21a10ffed0d7cc245fa933c (diff)
downloadtor-d4a74021e5ab9dbaf3bb27c0a52e1fd7f8f792ab.tar.gz
tor-d4a74021e5ab9dbaf3bb27c0a52e1fd7f8f792ab.zip
relay/dirauth: Set some output arguments in stubs
And document how some functions set their output arguments. Fixes bug 33674; bugfix on 0.4.3.1-alpha.
Diffstat (limited to 'src/feature/dirauth/dirvote.h')
-rw-r--r--src/feature/dirauth/dirvote.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/dirauth/dirvote.h b/src/feature/dirauth/dirvote.h
index f695e93abf..675f4ee148 100644
--- a/src/feature/dirauth/dirvote.h
+++ b/src/feature/dirauth/dirvote.h
@@ -162,7 +162,7 @@ dirvote_add_signatures(const char *detached_signatures_body,
{
(void) detached_signatures_body;
(void) source;
- (void) msg_out;
+ *msg_out = "No directory authority support";
/* If the dirauth module is disabled, this should NEVER be called else we
* failed to safeguard the dirauth module. */
tor_assert_nonfatal_unreached();