Re: NetBSD noticed arc4random() tested, arc4random_buf() used.
David Levine <[email protected]> Sun, 13 Apr 2025 08:18:00 -0400
| Newsgroups | gmane.mail.nmh.devel |
|---|---|
| Message-ID | <[email protected]> |
Ralph wrote:
> Will
>
> -AC_CHECK_FUNCS([wcwidth mbtowc getutxent arc4random mkstemps])
> +AC_CHECK_FUNCS([wcwidth mbtowc getutxent arc4random_buf mkstemps])
>
> change the C preprocessor macro to also end in _BUF?
Yes:
/* Define to 1 if you have the 'arc4random_buf' function. */
#define HAVE_ARC4RANDOM_BUF 1
Good catch!
Fixed in commit c52b4fe16.
David