aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-04-11 10:59:11 -0400
committerNick Mathewson <nickm@torproject.org>2012-04-11 10:59:11 -0400
commit77e51224faf1963241e207004133a2350ad23e5c (patch)
tree315f14f0fe88b959d513b601439dbd007e9a671f /src/or/dirserv.c
parentab338e3bb8220de6c38d2b689f2e9593d256e9c4 (diff)
downloadtor-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.c3
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(