diff mbox series

uefi: securebootcert: fix the attribute set for AuditMode and DeployedMode

Message ID 20220809064754.26635-1-ivan.hu@canonical.com
State Accepted
Headers show
Series uefi: securebootcert: fix the attribute set for AuditMode and DeployedMode | expand

Commit Message

ivanhu Aug. 9, 2022, 6:47 a.m. UTC
BugLink: https://bugs.launchpad.net/fwts/+bug/1984042

Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
---
 src/uefi/securebootcert/securebootcert.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/src/uefi/securebootcert/securebootcert.c b/src/uefi/securebootcert/securebootcert.c
index 0fcc771c..6bf40505 100644
--- a/src/uefi/securebootcert/securebootcert.c
+++ b/src/uefi/securebootcert/securebootcert.c
@@ -558,8 +558,7 @@  static int securebootcert_test2(fwts_framework *fw)
 {
 	int ret;
 	uint8_t data = 0;
-	static uint32_t attributes = FWTS_UEFI_VAR_NON_VOLATILE |
-					FWTS_UEFI_VAR_BOOTSERVICE_ACCESS |
+	static uint32_t attributes = FWTS_UEFI_VAR_BOOTSERVICE_ACCESS |
 					FWTS_UEFI_VAR_RUNTIME_ACCESS;
 
 	if (!(var_found & VAR_AUDITMODE_FOUND)) {