[tor-bugs] #20077 [Core Tor/Tor]: Make is_sensitive_dir_purpose and purpose_needs_anonymity consistent

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 19 17:34:59 UTC 2016


#20077: Make is_sensitive_dir_purpose and purpose_needs_anonymity consistent
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:
     Type:  defect                               |         Status:
                                                 |  merge_ready
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.0.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  refactor, 030-proposed,              |  Actual Points:
  TorCoreTeam201610                              |
Parent ID:                                       |         Points:  1
 Reviewer:  teor                                 |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by chelseakomlo):

 Sure, I was wondering whether the default case would be needed.

 Refactor to use switch statement:
 https://github.com/chelseakomlo/tor_patches/commit/471b0c5175521bb2bc49eb7e30d78f656a3a2843

 Fix for #20077:
 https://github.com/chelseakomlo/tor_patches/commit/195ccce94e250a150e208f7a8fb9ba8375b6fe89

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20077#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list