[or-cvs] Aaand re-disable the bogus test in get_body()

Nick Mathewson nickm at seul.org
Wed Jun 28 08:57:43 UTC 2006


Update of /home/or/cvsroot/tor/src/or
In directory moria:/home/nickm/src/tor/src/or

Modified Files:
	routerlist.c 
Log Message:
Aaand re-disable the bogus test in get_body()

Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.526
retrieving revision 1.527
diff -u -p -d -r1.526 -r1.527
--- routerlist.c	28 Jun 2006 08:55:53 -0000	1.526
+++ routerlist.c	28 Jun 2006 08:57:41 -0000	1.527
@@ -1163,8 +1163,10 @@ signed_descriptor_get_body(signed_descri
   }
   tor_assert(r);
   tor_assert(!memcmp("router ", r, 7));
+#if 0
   tor_assert(!memcmp("\n-----END SIGNATURE-----\n",
                      r + len - 25, 25));
+#endif
 
   return r;
 }



More information about the tor-commits mailing list