Error when making "libgcrypt" [rndgetentropy.c ]

Werner Koch wk at
Fri May 5 10:45:52 CEST 2023


> rndgetentropy.c:98:48: error: use of undeclared identifier 'GRND_RANDOM'
>               ret = getrandom (buffer, nbytes, GRND_RANDOM);

> OS         :  macOS  13.3.1 (a) / Command Line Tools for Xcode 14.3
> Platform :  Darwin (x86_64-apple-darwin22.4.0)

There is a glitch in 1.10 which affects macOS.  Please see

which has a patch.  It should also be possible to use

  ./configure --enable-random=linux

which uses the old /dev/random entrop gatherer.



The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <>

More information about the Gnupg-users mailing list