[tor-bugs] #20918 [Core Tor/Tor]: Switch onion.c to use TRUNNEL_OPAQUE

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 13 22:17:23 UTC 2017


#20918: Switch onion.c to use TRUNNEL_OPAQUE
--------------------------+------------------------------------
 Reporter:  nickm         |          Owner:  nickm
     Type:  defect        |         Status:  merge_ready
 Priority:  Medium        |      Milestone:  Tor: 0.3.0.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:  .2
Parent ID:  #15054        |         Points:  .1
 Reviewer:  dgoulet       |        Sponsor:
--------------------------+------------------------------------

Comment (by nickm):

 >Also also, if this is a new coding pattern, do we need to change all the
 other places that use trunnel to actually solely use getters instead of
 direct struct access?

 (The patch actually does make all the trunnel structures all over the
 codebase opaque. That's why it's so big.)

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


More information about the tor-bugs mailing list