Files
qemu/crypto
Daniel P. Berrangé bbd40a0e31 crypto: fix error check on gcry_md_open
Gcrypt does not return negative values on error, it returns non-zero
values. This caused QEMU not to detect failure to open an unsupported
hash, resulting in a later crash trying to use a NULL context.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2024-11-05 18:37:18 +00:00
..
2023-02-08 07:16:23 +01:00
2024-09-09 15:13:38 +01:00
2023-09-11 11:45:55 +10:00