Remove partial support for entropy by sysctl and include sys/random.h.
Fixes: 838b6caababb openssl: use getrandom(2) instead of probing for getentropy(2)
Differential D46167
openssl: declare getrandom(2) before use brooks on Jul 26 2024, 4:31 PM. Authored by Tags None Referenced Files
Details Remove partial support for entropy by sysctl and include sys/random.h. Fixes: 838b6caababb openssl: use getrandom(2) instead of probing for getentropy(2)
Diff Detail
Event TimelineComment Actions Without this GitHub CI fails with an error that getrandom is undeclared. I have no idea why that fails and other builds are fine. Comment Actions jhb has a similar patch here https://reviews.freebsd.org/D45995 and I had a similar fix upstream https://github.com/openssl/openssl/pull/24903/files but I've failed to get @bcran (or anyone in upstream OpenSSL) to weigh in on an appropriate solution for their part, so I guess just do it and I'll reconcile the differences later. |