[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r12104: Move an XXX020 to the logical place. (in tor/trunk: . src/or)



Author: nickm
Date: 2007-10-22 12:32:08 -0400 (Mon, 22 Oct 2007)
New Revision: 12104

Modified:
   tor/trunk/
   tor/trunk/src/or/networkstatus.c
   tor/trunk/src/or/routerparse.c
Log:
 r16034@catbus:  nickm | 2007-10-22 12:30:38 -0400
 Move an XXX020 to the logical place.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r16034] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/src/or/networkstatus.c
===================================================================
--- tor/trunk/src/or/networkstatus.c	2007-10-22 16:32:06 UTC (rev 12103)
+++ tor/trunk/src/or/networkstatus.c	2007-10-22 16:32:08 UTC (rev 12104)
@@ -990,6 +990,9 @@
 
   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? */
   if (r != 1)
     authority_certs_fetch_missing(c, now);

Modified: tor/trunk/src/or/routerparse.c
===================================================================
--- tor/trunk/src/or/routerparse.c	2007-10-22 16:32:06 UTC (rev 12103)
+++ tor/trunk/src/or/routerparse.c	2007-10-22 16:32:08 UTC (rev 12104)
@@ -2220,8 +2220,6 @@
     goto err;
   }
 
-  /* XXXX020 check dates for plausibility.  ??? */
-
   if (eos_out)
     *eos_out = end_of_footer;