mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
r13987@Kushana: nickm | 2007-08-13 16:17:09 -0400
Stop segfaulting on failed consensus. svn:r11090
This commit is contained in:
parent
936edd901d
commit
94c90c42e3
@ -1276,7 +1276,10 @@ dirvote_compute_consensus(void)
|
||||
votes, n_voters,
|
||||
my_cert->identity_key,
|
||||
get_my_v3_authority_signing_key());
|
||||
|
||||
if (!consensus_body) {
|
||||
log_warn(LD_DIR, "Couldn't generate a consensus at all!");
|
||||
goto err;
|
||||
}
|
||||
consensus = networkstatus_parse_vote_from_string(consensus_body, 0);
|
||||
if (!consensus) {
|
||||
log_warn(LD_DIR, "Couldn't parse consensus we generated!");
|
||||
|
Loading…
Reference in New Issue
Block a user