]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virRandomBytes: Report error
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 29 May 2018 06:58:46 +0000 (08:58 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 5 Jun 2018 08:31:19 +0000 (10:31 +0200)
commit8981c750b111c8a549a888d066f5e5c736787326
tree085054810d2151ceb9504ee80a7ac9b36f7fd1e7
parenta6be5a4ce105975fd106f094411671d0d3b69445
virRandomBytes: Report error

Instead of having each caller report error move it into the
function. This way we can produce more accurate error messages
too.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/util/vircrypto.c
src/util/virrandom.c