diff options
author | Andrea Shepard <andrea@torproject.org> | 2013-05-09 04:56:54 -0700 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2013-05-09 10:55:01 -0700 |
commit | fddb814feaa3d0091df03b26fa709cfba55312ed (patch) | |
tree | a80560b8e77ab80ac5f88136521bd618253d00ff /src/or/dirvote.c | |
parent | d5bd4a4763dfa74572ce6ed0b565315c43ff9f87 (diff) | |
download | tor-fddb814feaa3d0091df03b26fa709cfba55312ed.tar.gz tor-fddb814feaa3d0091df03b26fa709cfba55312ed.zip |
When downloading certificates, distinguish requesting by identity digest from requesting by ID digest, signing key pair; fixes bug 5595
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r-- | src/or/dirvote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c index 144859ae04..959e05a8a5 100644 --- a/src/or/dirvote.c +++ b/src/or/dirvote.c @@ -2947,7 +2947,7 @@ 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, - 0 /* from_store */, 1 /*flush*/); + TRUSTED_DIRS_CERTS_SRC_FROM_VOTE, 1 /*flush*/); 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."); |