[tor-commits] [tor/master] Disable the legacy guard algorithm. Code isn't removed yet.

nickm at torproject.org nickm at torproject.org
Fri Dec 16 16:46:32 UTC 2016


commit c52c47ae6f0da5a94b0605fd84fd469a29db962c
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Dec 16 11:42:34 2016 -0500

    Disable the legacy guard algorithm.  Code isn't removed yet.
    
    (Keeping the code around in case I broke Tor in some unexpected
    way.)
---
 src/or/entrynodes.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h
index c215c10..db84d59 100644
--- a/src/or/entrynodes.h
+++ b/src/or/entrynodes.h
@@ -31,7 +31,7 @@ typedef struct entry_guard_restriction_t entry_guard_restriction_t;
 /*
   XXXX Prop271 undefine this in order to disable all legacy guard functions.
 */
-#define ENABLE_LEGACY_GUARD_ALGORITHM
+// #define ENABLE_LEGACY_GUARD_ALGORITHM
 
 /* Information about a guard's pathbias status.
  * These fields are used in circpathbias.c to try to detect entry



More information about the tor-commits mailing list