Re: [PATCH v2 1/2] wrapper: add a helper to generate numbers from a CSPRNG
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 4, 2022, 23:17 UTC
- Message-ID
- <xmqq35m39jma.fsf@gitster.g>
- In-Reply-To
- <YdTQodIhZ9273nJE@camp.crustytoothpaste.net>
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
> There's an important additional difference here. On real BSD systems, > the prototypes for this family of functions live in <stdlib.h>.
Ah, I missed that one. So "C side does not care between HAVE_ARC4RANDOM_LIBBSD and HAVE_ARC4RANDOM" is not true. We do care and the patch as posted is fine.
Thanks.