diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-04-11 10:59:11 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-04-11 10:59:11 -0400 |
commit | 77e51224faf1963241e207004133a2350ad23e5c (patch) | |
tree | 315f14f0fe88b959d513b601439dbd007e9a671f /src/or/dirserv.c | |
parent | ab338e3bb8220de6c38d2b689f2e9593d256e9c4 (diff) | |
download | tor-77e51224faf1963241e207004133a2350ad23e5c.tar.gz tor-77e51224faf1963241e207004133a2350ad23e5c.zip |
Obsolete GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays
Closes ticket 4572.
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 11f235caf4..5b6087c943 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -2417,8 +2417,7 @@ set_routerstatus_from_routerinfo(routerstatus_t *rs, routerbw >= options->AuthDirGuardBWGuarantee) || routerbw >= MIN(guard_bandwidth_including_exits, guard_bandwidth_excluding_exits)) && - (options->GiveGuardFlagTo_CVE_2011_2768_VulnerableRelays || - is_router_version_good_for_possible_guard(ri->platform))) { + (is_router_version_good_for_possible_guard(ri->platform))) { long tk = rep_hist_get_weighted_time_known( node->identity, now); double wfu = rep_hist_get_weighted_fractional_uptime( |