PATCH random/rndgetentropy.c: fix build failure on macOS

NIIBE Yutaka gniibe at fsij.org
Tue Feb 1 03:52:40 CET 2022


Hello,

Christoph Badura <bad at bsd.de> wrote:
> libgcrypt fails in rndgetentropy.c because the prototype for getentropy()
> is missing.  The prototype is provided by sys/random.h per the man pages.

Thank you for your report.

Using HAVE_SYS_RANDOM_H, fixed in the commit of:

	3d353782d84b9720262d7b05adfae3aef7ff843b
-- 



More information about the Gcrypt-devel mailing list