[tor-bugs] #19904 [Core Tor/Tor]: evutil_secure_rng_add_bytes() not present in openbsd libevent 2

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 22 21:28:14 UTC 2016


#19904: evutil_secure_rng_add_bytes() not present in openbsd libevent 2
---------------------------------------+-----------------------------------
 Reporter:  nickm                      |          Owner:  nickm
     Type:  defect                     |         Status:  new
 Priority:  Medium                     |      Milestone:  Tor:
                                       |  0.2.9.x-final
Component:  Core Tor/Tor               |        Version:
 Severity:  Normal                     |     Resolution:
 Keywords:  TorCoreTeam201608 openbsd  |  Actual Points:  0
Parent ID:                             |         Points:  0
 Reviewer:                             |        Sponsor:
---------------------------------------+-----------------------------------
Changes (by rubiate):

 * cc: cb@… (added)


Comment:

 The check for functions is happening before it has figured out how to link
 libevent, but it still works(ish) by accident.

 Other platforms are happy enough with -levent so they find (or don't find)
 the functions, and the function check fails on OpenBSD because it can't
 link it, so everyone gets (almost) the right result.

 Although, on OpenBSD it also fails to find
 evutil_secure_rng_set_urandom_device_file() which is available.

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


More information about the tor-bugs mailing list