[tor-bugs] #32163 [Core Tor/Tor]: Stop using HAVE_MODULE_DIRAUTH inside functions

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Oct 20 08:32:14 UTC 2019


#32163: Stop using HAVE_MODULE_DIRAUTH inside functions
-------------------------+-------------------------------------------------
     Reporter:  teor     |      Owner:  (none)
         Type:  defect   |     Status:  new
     Priority:  Medium   |  Milestone:  Tor: 0.4.3.x-final
    Component:  Core     |    Version:
  Tor/Tor                |   Keywords:  tor-design, network-team-roadmap-
     Severity:  Normal   |  october
Actual Points:           |  Parent ID:  #31851
       Points:           |   Reviewer:
      Sponsor:           |
  Sponsor31-can          |
-------------------------+-------------------------------------------------
 In doc/HACKING/Modules.md, we say that we don't use module macros inside
 functions. But HAVE_MODULE_DIRAUTH is used inside a few functions.

 We should stop using HAVE_MODULE_DIRAUTH inside functions, or update the
 documentation to say "avoid using".

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


More information about the tor-bugs mailing list