Björn Esser c82ed0c15e
libmisc/salt.c: Use secure system ressources to obtain random bytes.
In a previous commit we introduced /dev/urandom as a source to obtain
random bytes from.  This may not be available on all systems, or when
operating inside of a chroot.

Almost all systems provide functions to obtain random bytes from
secure system ressources.  Thus we should prefer to use these, and
fall back to /dev/urandom, if there is no such function present, as
a last resort.

Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2021-07-04 13:00:32 +02:00
..
2021-06-24 09:18:35 +02:00
2011-09-18 21:02:43 +00:00
2020-01-12 07:31:26 -06:00
2008-05-25 23:31:10 +00:00
2021-06-24 09:18:35 +02:00
2021-06-24 09:18:35 +02:00
2021-06-16 09:50:53 +02:00
2017-10-22 18:33:13 +00:00
2017-10-22 19:17:02 +00:00
2021-06-24 09:18:35 +02:00
2021-04-16 21:02:37 -05:00
2021-06-24 09:18:35 +02:00
2021-06-16 09:50:53 +02:00
2021-06-24 09:18:35 +02:00
2021-02-01 22:11:10 +01:00
2010-08-22 13:04:54 +00:00
2017-10-22 18:33:13 +00:00
2013-08-04 15:56:32 +02:00
2010-08-22 13:04:54 +00:00
2010-08-22 13:04:54 +00:00
2021-06-24 09:18:35 +02:00
2021-06-16 09:50:53 +02:00