Add arc4random/getentropy shims for NetBSD.
authorbcook <bcook@openbsd.org>
Mon, 19 Jan 2015 20:21:40 +0000 (20:21 +0000)
committerbcook <bcook@openbsd.org>
Mon, 19 Jan 2015 20:21:40 +0000 (20:21 +0000)
commit29a36ee64ca97ccb51c9b7925fc331c1c854f3ee
tree202fc82f3244e06081716314f617cffe1c760864
parente043196b2aeed74de43359cd60b8a28b3d9e82ec
Add arc4random/getentropy shims for NetBSD.

The latest NetBSD (6.1.5) arc4random does not appear to reseed the CRNG state
after a fork, so provide an override until the fork-safe version in CVS appears
in a release.

These are the same as the FreeBSD shims.

ok deraadt@
lib/libcrypto/arc4random/arc4random_netbsd.h [new file with mode: 0644]
lib/libcrypto/arc4random/getentropy_netbsd.c [new file with mode: 0644]
lib/libcrypto/crypto/arc4random_netbsd.h [new file with mode: 0644]
lib/libcrypto/crypto/getentropy_netbsd.c [new file with mode: 0644]