Re: NetBSD noticed arc4random() tested, arc4random_buf() used.

Ralph Corderoy <[email protected]> Sun, 13 Apr 2025 10:47:57 +0100
Newsgroups gmane.mail.nmh.devel
Message-ID <[email protected]>
Hi David,

> Fixed, commit 7b5d9b22d.

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?

    -#if !HAVE_ARC4RANDOM
    +#if HAVE_ARC4RANDOM
    +  arc4random_buf(buf, n);

I don't recall autoconf well enough.

-- 
Cheers, Ralph.