Home GnuPG

random: Include sys/random.h when available.

Description

random: Include sys/random.h when available.

* configure.ac (AC_CHECK_HEADERS): Check sys/random.h.
* random/rndgetentropy.c [HAVE_SYS_RANDOM_H]: Include it.
  • Reported-by: Christoph Badura <bad@bsd.de>
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jan 25 2022, 4:50 PM
Parents
rCbafdb90d97b6: cipher: Add new API for modern KDF function.
Branches
Unknown
Tags
Unknown