]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/randutils: reset lose counter
authorKarel Zak <kzak@redhat.com>
Mon, 14 Aug 2017 08:56:08 +0000 (10:56 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 20 Sep 2017 12:16:55 +0000 (14:16 +0200)
commitc73ef5e8ba43b9b7b45a9fd87d65eb641a8343a2
tree02c9b8f62759c48d6e687acb8bf8fe173a495c76
parentfa949792072530b49ef5760d7ecd6d250c66e35f
lib/randutils: reset lose counter

It's probaly good idea to reset lose counter when we fallback from
getrandom() to /dev/urandom.

Signed-off-by: Karel Zak <kzak@redhat.com>
lib/randutils.c