[tor-bugs] #16763 [Tor]: Extract client-only parts of init_keys()

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Aug 11 14:40:21 UTC 2015


#16763: Extract client-only parts of init_keys()
-----------------------------------------------+---------------------------
 Reporter:  nickm                              |          Owner:
     Type:  defect                             |         Status:  new
 Priority:  normal                             |      Milestone:  Tor:
Component:  Tor                                |  0.2.7.x-final
 Keywords:  SponsorS, TorCoreTeam201508, blob  |        Version:
Parent ID:                                     |  Actual Points:
                                               |         Points:
-----------------------------------------------+---------------------------
 init_keys() is one of the functions that's reachable from way too many
 functions.  This appears to be happening because ip_address_changed can
 call init_keys().  But really, it only wants to call the client-only parts
 of init_keys().  So splitting them out into another function would help
 reduce the blob size.

 See also #16695 and #16762.

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


More information about the tor-bugs mailing list