[or-cvs] automatically approve nodes running 0.1.0.2-rc or later

Roger Dingledine arma at seul.org
Sun Apr 3 19:01:50 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or

Modified Files:
	dirserv.c 
Log Message:
automatically approve nodes running 0.1.0.2-rc or later


Index: dirserv.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -d -r1.149 -r1.150
--- dirserv.c	1 Apr 2005 20:15:55 -0000	1.149
+++ dirserv.c	3 Apr 2005 19:01:47 -0000	1.150
@@ -409,7 +409,8 @@
     *msg = verified?"Verified server added":"Unverified server added. (Have you sent us your key fingerprint?)";
   }
 
-  ri->is_verified = verified;
+  ri->is_verified = verified ||
+                    tor_version_as_new_as(ri->platform,"0.1.0.2-rc");
   smartlist_add(descriptor_list, ri);
 
   *desc = end;



More information about the tor-commits mailing list