diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-10-22 17:34:05 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-10-23 13:49:48 -0400 |
commit | 85659d3964669f9f419123c648e517f4ba539462 (patch) | |
tree | cf95df6542f0219c67d9ebe2963a3ef46fb687ca /src/common | |
parent | 4c8b58f9005b7a187878273b8ff0f8ec23e86326 (diff) | |
download | tor-85659d3964669f9f419123c648e517f4ba539462.tar tor-85659d3964669f9f419123c648e517f4ba539462.tar.gz |
Fix parse_short_policy (bug 7192.)
Our implementation of parse_short_policy was screwed up: it would
ignore the last character of every short policy. Obviously, that's
broken.
This patch fixes the busted behavior, and adds a bunch of unit tests
to make sure the rest of that function is okay.
Fixes bug 7192; fix on 0.2.3.1-alpha.
Diffstat (limited to 'src/common')
0 files changed, 0 insertions, 0 deletions