aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Kozina <okozina@redhat.com>2023-11-01 13:06:40 +0100
committerOndrej Kozina <okozina@redhat.com>2023-11-02 17:15:14 +0100
commitb9ba5ec14d1b4efc7e5188ee077c4e0cd1f5d917 (patch)
tree840b334d187770b3a7f952de49a5ca288fb972b8
parentaf8c53a8233fcf2f5e8dcbd02287c3b62b866445 (diff)
downloadcryptsetup-b9ba5ec14d1b4efc7e5188ee077c4e0cd1f5d917.tar.gz
Do not allow --integrity option in reencryption action.
-rw-r--r--src/cryptsetup_args.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptsetup_args.h b/src/cryptsetup_args.h
index fa21f228..7aaa025d 100644
--- a/src/cryptsetup_args.h
+++ b/src/cryptsetup_args.h
@@ -65,8 +65,8 @@
#define OPT_HOTZONE_SIZE_ACTIONS { REENCRYPT_ACTION }
#define OPT_HW_OPAL_ACTIONS { FORMAT_ACTION }
#define OPT_HW_OPAL_ONLY_ACTIONS OPT_HW_OPAL_ACTIONS
-#define OPT_INTEGRITY_ACTIONS { FORMAT_ACTION, REENCRYPT_ACTION }
-#define OPT_INTEGRITY_NO_WIPE_ACTIONS { FORMAT_ACTION, REENCRYPT_ACTION }
+#define OPT_INTEGRITY_ACTIONS { FORMAT_ACTION }
+#define OPT_INTEGRITY_NO_WIPE_ACTIONS { FORMAT_ACTION }
#define OPT_ITER_TIME_ACTIONS { BENCHMARK_ACTION, FORMAT_ACTION, ADDKEY_ACTION, CHANGEKEY_ACTION, CONVERTKEY_ACTION, REENCRYPT_ACTION }
#define OPT_IV_LARGE_SECTORS_ACTIONS { OPEN_ACTION }
#define OPT_KEEP_KEY_ACTIONS { REENCRYPT_ACTION }