[tor-bugs] #13696 [Tor]: Use syscall-based entropy reading where possible.

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Dec 9 08:10:30 UTC 2015


#13696: Use syscall-based entropy reading where possible.
-------------------------+------------------------------------
 Reporter:  nickm        |          Owner:  yawning
     Type:  enhancement  |         Status:  reopened
 Priority:  Medium       |      Milestone:  Tor: 0.2.8.x-final
Component:  Tor          |        Version:
 Severity:  Normal       |     Resolution:
 Keywords:  tor-relay    |  Actual Points:
Parent ID:               |         Points:
  Sponsor:               |
-------------------------+------------------------------------
Changes (by cypherpunks):

 * status:  closed => reopened
 * resolution:  implemented =>


Comment:

 Now Jenkins is failing with
 {{{
 src/common/crypto.c:2406:13: error: implicit conversion loses integer
 precision: 'long' to 'int' [-Werror,-Wshorten-64-to-32]
       ret = syscall(SYS_getrandom, out, out_len, 0);
 }}}

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


More information about the tor-bugs mailing list