Error when making "libgcrypt" [rndgetentropy.c ]

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


Hi!

> 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

https://dev.gnupg.org/T6442

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

  ./configure --enable-random=linux

which uses the old /dev/random entrop gatherer.


Shalom-Salam,

   Werner

-- 
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: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20230505/5af49f17/attachment.sig>


More information about the Gnupg-users mailing list