[tor-bugs] #9774 [Tor]: Explain "#ifdef CURVE25519_ENABLED" better

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Sep 19 06:16:13 UTC 2013


#9774: Explain "#ifdef CURVE25519_ENABLED" better
--------------------+------------------------------------
 Reporter:  arma    |          Owner:
     Type:  defect  |         Status:  new
 Priority:  normal  |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor     |        Version:
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
--------------------+------------------------------------
 I find the CURVE25519_ENABLED ifdefs really confusing. It would seem to
 mean "can we do ntor handshakes", but if it does, why is there a bunch of
 ntor code not covered by ifdefs? When should I check ifdef when doing
 something ntor-related, and when shouldn't I? Are there things that aren't
 ntor-related where it matters?

 I was about to send Nick mail asking, but then I realized that other /
 future Tor developers should want to know the answer too.

 Thanks!

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


More information about the tor-bugs mailing list