Blame SOURCES/bz1898690-crypt-make-key_file-crypt_type_not-unique.patch

bcdf71
From 16236f76d086187f6ae6202153519c1eb2fe4f87 Mon Sep 17 00:00:00 2001
bcdf71
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
bcdf71
Date: Tue, 24 Nov 2020 10:49:14 +0100
bcdf71
Subject: [PATCH] crypt: make key_file and crypt_type parameters not unique
bcdf71
bcdf71
---
bcdf71
 heartbeat/crypt | 4 ++--
bcdf71
 1 file changed, 2 insertions(+), 2 deletions(-)
bcdf71
bcdf71
diff --git a/heartbeat/crypt b/heartbeat/crypt
bcdf71
index 0e49b6c2d..7d0a5607c 100755
bcdf71
--- a/heartbeat/crypt
bcdf71
+++ b/heartbeat/crypt
bcdf71
@@ -86,7 +86,7 @@ The resulting block device path is /dev/mapper/name.
bcdf71
 <content type="string" default="${OCF_RESKEY_crypt_dev_default}" />
bcdf71
 </parameter>
bcdf71
 
bcdf71
-<parameter name="key_file" unique="1" required="1">
bcdf71
+<parameter name="key_file" unique="0" required="1">
bcdf71
 <longdesc lang="en">
bcdf71
 Key file path containing the encryption passphrase
bcdf71
 (aka key; see cryptsetup(8)).  For LUKS, the passphrase as of the key_file
bcdf71
@@ -96,7 +96,7 @@ parameter is used to decrypt a randomly selected key when the device was created
bcdf71
 <content type="string" default="${OCF_RESKEY_key_file_default}" />
bcdf71
 </parameter>
bcdf71
 
bcdf71
-<parameter name="crypt_type" unique="1" required="1">
bcdf71
+<parameter name="crypt_type" unique="0" required="1">
bcdf71
 <longdesc lang="en">
bcdf71
 Encryption (device) type (e.g. "luks" or "luks2").
bcdf71