From 44446d10b098d1b05f03d450cb6290eb1a1de3b8 Mon Sep 17 00:00:00 2001 From: Fu Siyuan Date: Tue, 8 Oct 2013 05:31:28 +0000 Subject: =?UTF-8?q?Fix=20a=20bug=20about=20the=20=E2=80=9CVendorKey?= =?UTF-8?q?=E2=80=9D=20variable=20update=20logic.=20Signed-off-by:=20Fu=20?= =?UTF-8?q?Siyuan=20=20Reviewed-by:=20Ye=20Ting=20=20Reviewed-by:=20Dong=20Guo=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14746 6f19259b-4bc3-4df7-8a09-765794883524 --- SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SecurityPkg/VariableAuthenticated') diff --git a/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c b/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c index 1f930e8a11..71de272bf2 100644 --- a/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c +++ b/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c @@ -1089,7 +1089,7 @@ ProcessVarWithPk ( return Status; } - if (mPlatformMode != SETUP_MODE) { + if (mPlatformMode != SETUP_MODE || IsPk) { Status = VendorKeyIsModified (); } } else if (mPlatformMode == USER_MODE) { -- cgit v1.2.3