]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
Factor out getrnd() and rename to getentropy().
authorDarren Tucker <dtucker@dtucker.net>
Fri, 5 Aug 2022 03:12:27 +0000 (13:12 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 5 Aug 2022 03:12:27 +0000 (13:12 +1000)
commit3d3a932a019aedfb891e0779bb4990cd5008a390
tree403471b1c4239b4ba73cc8455c0fc59fd1d9a0b3
parent9385d277b787403be9dfcb229cf372202496d2f3
Factor out getrnd() and rename to getentropy().

Factor out the arc4random seeding into its own file and change the
interface to match getentropy.  Use native getentropy if available.
This will make it easier to resync OpenBSD changes to arc4random.
Prompted by bz#3467, ok djm@.
configure.ac
openbsd-compat/Makefile.in
openbsd-compat/arc4random.c
openbsd-compat/bsd-getentropy.c [new file with mode: 0644]
openbsd-compat/openbsd-compat.h