aboutsummaryrefslogtreecommitdiff
path: root/src/test/test.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2010-02-02 14:51:51 +0100
committerSebastian Hahn <sebastian@torproject.org>2010-02-03 05:44:00 +0100
commit03bd98b3b1f92954c286f9d4dd5a2dd5f34a7e8b (patch)
tree83a87d83f12764ef97f0d72fd31fe5bd7943fe45 /src/test/test.c
parentc7a2efb380f08001bb27d8459fc1d16c7dfa40b4 (diff)
downloadtor-03bd98b3b1f92954c286f9d4dd5a2dd5f34a7e8b.tar.gz
tor-03bd98b3b1f92954c286f9d4dd5a2dd5f34a7e8b.zip
Don't assign Exit flag incorrectly
exit_policy_is_general_exit() assumed that there are no redundancies in the passed policy, in the sense that we actively combine entries in the policy to really get rid of any redundancy. Since we cannot do that without massively rewriting the policy lines the relay operators set, fix exit_policy_is_general_exit(). Fixes bug 1238, discovered by Martin Kowalczyk.
Diffstat (limited to 'src/test/test.c')
0 files changed, 0 insertions, 0 deletions