[Bug 2465] openssh portable does not check if arc4random_buf is declared in the system headers?

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sun Sep 13 20:19:05 AEST 2015


https://bugzilla.mindrot.org/show_bug.cgi?id=2465

--- Comment #2 from Brent Cook <busterb at gmail.com> ---
We could perhaps conditionally provide a prototype, but it would be in
a nonstandard location. It would be better if programs did not have to
guess whether arc4random_buf is in stdlib.h or some random libressl
header, no? In other words, even if we did expose the prototype, I
believe openssh would still have to do a header check to see if it is
stdlib.h or elsewhere.

The symbol export is intentional, as the arc4random_buf in libcrypto
then shared between libssl, openssl(1) and libtls.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list