[tor-commits] [tor/master] Require MIN_METHOD_FOR_RECOMMENDED_PROTOCOLS

nickm at torproject.org nickm at torproject.org
Mon Apr 23 00:01:16 UTC 2018


commit 2609a8be81c744f1c3568c83cce035836ec50758
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Apr 9 15:10:27 2018 -0400

    Require MIN_METHOD_FOR_RECOMMENDED_PROTOCOLS
    
    (Remove support for running without this method.)
---
 src/or/dirvote.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 25ca961fa..f3b8a19f0 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -1504,7 +1504,7 @@ networkstatus_compute_consensus(smartlist_t *votes,
     tor_free(flaglist);
   }
 
-  if (consensus_method >= MIN_METHOD_FOR_RECOMMENDED_PROTOCOLS) {
+  {
     int num_dirauth = get_n_authorities(V3_DIRINFO);
     int idx;
     for (idx = 0; idx < 4; ++idx) {





More information about the tor-commits mailing list