mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 07:03:44 +01:00
r16034@catbus: nickm | 2007-10-22 12:30:38 -0400
Move an XXX020 to the logical place. svn:r12104
This commit is contained in:
parent
7b80011990
commit
f06ac50d45
@ -990,6 +990,9 @@ networkstatus_set_current_consensus(const char *consensus, int from_cache,
|
|||||||
|
|
||||||
download_status_reset(&consensus_dl_status); /*XXXX020 not quite right.*/
|
download_status_reset(&consensus_dl_status); /*XXXX020 not quite right.*/
|
||||||
|
|
||||||
|
/* XXXX020 check dates for plausibility. Don't trust a consensus whose
|
||||||
|
* valid-after date is very far in the future. */
|
||||||
|
|
||||||
/* Are we missing any certificates at all? */
|
/* Are we missing any certificates at all? */
|
||||||
if (r != 1)
|
if (r != 1)
|
||||||
authority_certs_fetch_missing(c, now);
|
authority_certs_fetch_missing(c, now);
|
||||||
|
@ -2220,8 +2220,6 @@ networkstatus_parse_vote_from_string(const char *s, const char **eos_out,
|
|||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XXXX020 check dates for plausibility. ??? */
|
|
||||||
|
|
||||||
if (eos_out)
|
if (eos_out)
|
||||||
*eos_out = end_of_footer;
|
*eos_out = end_of_footer;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user