[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #26036 [Core Tor/Tor]: macOS regression in crypto_rand.c refactor
#26036: macOS regression in crypto_rand.c refactor
-------------------------+-------------------------------------------------
Reporter: | Owner: catalyst
catalyst |
Type: defect | Status: assigned
Priority: Medium | Milestone: Tor: 0.3.4.x-final
Component: Core | Version:
Tor/Tor | Keywords: tor-crypto, refactor, regression,
Severity: Normal | macos, fast-fix
Actual Points: | Parent ID: #24658
Points: | Reviewer:
Sponsor: |
-------------------------+-------------------------------------------------
The refactoring that created crypto_rand.c is missing includes of
sys/syscall.h and sys/random.h. sys/random.h is needed for `getentropy()`
on macOS 10.12 Sierra. Omitting sys/syscall.h might also cause us to fail
to detect a `getrandom()` syscall on Linux when that's supported.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26036>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs