[libvirt] [PATCH for v4.6.0 0/2] Fix some random problems

Pino Toscano ptoscano at redhat.com
Wed Aug 1 13:21:13 UTC 2018


Hi Bjoern,

On Wednesday, 1 August 2018 14:57:07 CEST Bjoern Walk wrote:
> And here's the fix for the viriscsitest on big-endian machine like
> Daniel suggested.

I sent an alternative fix, only for viriscsitest, while you sent this
patch.

IMHO virRandomBits() ought to not deal with endianness, since all it
sees are random values, without any meaning.  The problem was specific
to the test, because it assumed a certain order of the data returned by
the mocked virRandomBytes().

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180801/3bfaffac/attachment-0001.sig>


More information about the libvir-list mailing list