]> git.proxmox.com Git - mirror_qemu.git/commit
crypto: use &error_fatal in crypto tests
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 25 Jun 2021 17:48:41 +0000 (18:48 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 14 Jul 2021 13:15:52 +0000 (14:15 +0100)
commit7ea450b0f02f83637794af4991f0b684608d6a25
tree18f3d0859640d2e3e0ee6ac53fe5e4cda6c1567b
parent295736cfc82ae9019cd647ef012a71f4e277e864
crypto: use &error_fatal in crypto tests

Using error_fatal provides better diagnostics when tests
failed, than using asserts, because we see the text of
the error message.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
tests/unit/test-crypto-hash.c
tests/unit/test-crypto-hmac.c