]> git.proxmox.com Git - mirror_qemu.git/commit
crypto: fix initialization of crypto in tests
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 29 Sep 2016 11:43:35 +0000 (12:43 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 19 Oct 2016 09:23:55 +0000 (10:23 +0100)
commitd26d6b5d34f825c452f9bf3c9d5126181b10f25b
tree12bf3ac59b3611dbff012010847bfc5b17e047b4
parent48b95ea4f0933c13d778c0478cb82bbfdd515981
crypto: fix initialization of crypto in tests

The test-io-channel-tls test was missing a call to qcrypto_init
and test-crypto-hash was initializing it multiple times,

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
tests/test-crypto-hash.c
tests/test-io-channel-tls.c