On 07/21/2015 02:55 AM, Daniel P. Berrange wrote: > The current unit test only verifies the encryption API, > resulting in us missing a recently introduced bug in the > decryption API from commit d3462e3. It was fortunately > later discovered & fixed by commit bd09594, thanks to the > QEMU I/O tests for qcow2 encryption, but we should really > detect this directly in the crypto unit tests. Also remove > an accidental debug message and simplify some asserts. > > Signed-off-by: Daniel P. Berrange > --- > tests/test-crypto-cipher.c | 28 ++++++++++++++++++++-------- > 1 file changed, 20 insertions(+), 8 deletions(-) Reviewed-by: Eric Blake -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org