summaryrefslogtreecommitdiffstats
path: root/src/integritysetup
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-10-07 05:47:57 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-10-07 09:51:37 +0200
commitf769518c9ac6ca6bef063092ddc0e1718a67f540 (patch)
tree2bf69333b29b19c03b9b6e02df1a66c055e116a2 /src/integritysetup
parentnetwork: use Network.name for bus path (diff)
downloadsystemd-f769518c9ac6ca6bef063092ddc0e1718a67f540.tar.xz
systemd-f769518c9ac6ca6bef063092ddc0e1718a67f540.zip
tree-wide: drop doubled empty lines
Diffstat (limited to 'src/integritysetup')
-rw-r--r--src/integritysetup/integrity-util.c1
-rw-r--r--src/integritysetup/integrity-util.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/integritysetup/integrity-util.c b/src/integritysetup/integrity-util.c
index bc0fc645d0..69f55c256d 100644
--- a/src/integritysetup/integrity-util.c
+++ b/src/integritysetup/integrity-util.c
@@ -6,7 +6,6 @@
#include "path-util.h"
#include "percent-util.h"
-
static int supported_integrity_algorithm(char *user_supplied) {
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);
diff --git a/src/integritysetup/integrity-util.h b/src/integritysetup/integrity-util.h
index b27975c7db..359d2556a4 100644
--- a/src/integritysetup/integrity-util.h
+++ b/src/integritysetup/integrity-util.h
@@ -6,7 +6,6 @@
#include "cryptsetup-util.h"
#include "time-util.h"
-
int parse_integrity_options(
const char *options,
uint32_t *ret_activate_flags,