summaryrefslogtreecommitdiffstats
path: root/src/integritysetup
diff options
context:
space:
mode:
authorDaniel Dawson <danielcdawson@gmail.com>2024-09-27 02:44:03 +0200
committerLennart Poettering <lennart@poettering.net>2024-10-01 11:16:14 +0200
commit0c96911afb67fc1632866548efe151f6f10191b0 (patch)
treeedc2b96d305d9f0babf0e6df03f600f6b8a474ee /src/integritysetup
parentMerge pull request #34582 from DaanDeMeyer/repart (diff)
downloadsystemd-0c96911afb67fc1632866548efe151f6f10191b0.tar.xz
systemd-0c96911afb67fc1632866548efe151f6f10191b0.zip
systemd-integritysetup: accept integrity-algorithm=xxhash64
Signed-off-by: Daniel Dawson <danielcdawson@gmail.com>
Diffstat (limited to 'src/integritysetup')
-rw-r--r--src/integritysetup/integrity-util.c2
1 files changed, 1 insertions, 1 deletions
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;
}