aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2016-05-04 16:47:28 +1000
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>2016-05-11 13:30:30 -0400
commitcdb528d841e753b6cc0b8d8b2aeb6bed183a1a8d (patch)
treeafde71681ae55859d70a038ea02ea1c7c2bb29cc /src/or/dirvote.c
parent730cfeb6bd3d8060e44026469ec6d75695c00179 (diff)
downloadtor-cdb528d841e753b6cc0b8d8b2aeb6bed183a1a8d.tar.gz
tor-cdb528d841e753b6cc0b8d8b2aeb6bed183a1a8d.zip
Fetch certificates from the same directory as previous certificates
Improves the fix to #18963.
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r--src/or/dirvote.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index f28bff92db..4c64cc9c39 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -2916,7 +2916,8 @@ dirvote_add_vote(const char *vote_body, const char **msg_out, int *status_out)
/* Hey, it's a new cert! */
trusted_dirs_load_certs_from_string(
vote->cert->cache_info.signed_descriptor_body,
- TRUSTED_DIRS_CERTS_SRC_FROM_VOTE, 1 /*flush*/);
+ TRUSTED_DIRS_CERTS_SRC_FROM_VOTE, 1 /*flush*/,
+ NULL);
if (!authority_cert_get_by_digests(vote->cert->cache_info.identity_digest,
vote->cert->signing_key_digest)) {
log_warn(LD_BUG, "We added a cert, but still couldn't find it.");