From 0c96911afb67fc1632866548efe151f6f10191b0 Mon Sep 17 00:00:00 2001 From: Daniel Dawson Date: Thu, 26 Sep 2024 17:44:03 -0700 Subject: systemd-integritysetup: accept integrity-algorithm=xxhash64 Signed-off-by: Daniel Dawson --- src/integritysetup/integrity-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/integritysetup') diff --git a/src/integritysetup/integrity-util.c b/src/integritysetup/integrity-util.c index c29d4fcd5d..bc0fc645d0 100644 --- a/src/integritysetup/integrity-util.c +++ b/src/integritysetup/integrity-util.c @@ -8,7 +8,7 @@ static int supported_integrity_algorithm(char *user_supplied) { - if (!STR_IN_SET(user_supplied, "crc32", "crc32c", "sha1", "sha256", "hmac-sha256")) + if (!STR_IN_SET(user_supplied, "crc32", "crc32c", "xxhash64", "sha1", "sha256", "hmac-sha256")) return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Unsupported integrity algorithm (%s)", user_supplied); return 0; } -- cgit v1.2.3