build: Don't use /dev/srandom on OpenBSD.
authorJeremie Courreges-Anglas <jca@wxcvbn.org>
Mon, 6 Nov 2017 05:57:28 +0000 (14:57 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 6 Nov 2017 05:57:28 +0000 (14:57 +0900)
commit77e314a42a9c3c3557f0e60b3bf6da2ff9f7709a
tree18accde4e0f42e2e33a1840c7eb456c01a873421
parent94b84360ca55c407222a3eb8222d8b1816fc617f
build: Don't use /dev/srandom on OpenBSD.

--

Ported from GnuPG 1.4.

All /dev/*random devices have been equivalent since OpenBSD 4.9, on
purpose (/dev/random doesn't block).  /dev/srandom has been removed in
the OpenBSD 6.3 development cycle, /dev/arandom will likely follow.

Signed-off-by: Jeremie Courreges-Anglas <jca@wxcvbn.org>
configure.ac