]> git.ipfire.org Git - thirdparty/tor.git/commit
Don't (usually) return any guards that are missing descriptors.
authorNick Mathewson <nickm@torproject.org>
Tue, 31 Jan 2017 17:30:33 +0000 (12:30 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 31 Jan 2017 17:30:33 +0000 (12:30 -0500)
commit02da24f8e5b2ce34da941cc25ce9808b447065ac
tree08fb5355350a59e96e674d21d2cd715fda69af4f
parent26957a127a80404ca243e50c3f0c2bac01e480b8
Don't (usually) return any guards that are missing descriptors.

Actually, it's _fine_ to use a descriptorless guard for fetching
directory info -- we just shouldn't use it when building circuits.
Fortunately, we already have a "usage" flag that we can use here.

Partial fix for bug 21242.
src/or/entrynodes.c
src/or/entrynodes.h