aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-02-13 10:29:41 -0500
committerDavid Goulet <dgoulet@torproject.org>2018-02-13 10:35:41 -0500
commit4fe4f8179fe81244319c7fdec64299b6506434a2 (patch)
tree7f9995241419b200b25cdf7a81554f80eaa3cae1 /src/or/connection_edge.c
parent1555946e202fef523b35e169c90892b57caea766 (diff)
downloadtor-4fe4f8179fe81244319c7fdec64299b6506434a2.tar.gz
tor-4fe4f8179fe81244319c7fdec64299b6506434a2.zip
dos: Don't set consensus param if we aren't a public relay
We had this safeguard around dos_init() but not when the consensus changes which can modify consensus parameters and possibly enable the DoS mitigation even if tor wasn't a public relay. Fixes #25223 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/connection_edge.c')
0 files changed, 0 insertions, 0 deletions