crypto: Support SHA384 hash when using glib
authorDorjoy Chowdhury <dorjoychy111@gmail.com>
Thu, 5 Sep 2024 19:57:29 +0000 (01:57 +0600)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 9 Sep 2024 14:13:38 +0000 (15:13 +0100)
commit9893da71b274cc16f9a5fc18b94896f4887bcc2d
tree3cd9073b51231d7a8b4211d1918e6ec583f4b2bd
parent5d04de7de54e163b056980be10ee1c281a600276
crypto: Support SHA384 hash when using glib

QEMU requires minimum glib version 2.66.0 as per the root meson.build
file and per glib documentation[1] G_CHECKSUM_SHA384 is available since
2.51.

[1] https://docs.gtk.org/glib/enum.ChecksumType.html

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Dorjoy Chowdhury <dorjoychy111@gmail.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
crypto/hash-glib.c