summaryrefslogtreecommitdiff
path: root/SecurityPkg
diff options
context:
space:
mode:
authorFu Siyuan <siyuan.fu@intel.com>2013-10-08 05:31:28 +0000
committersfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524>2013-10-08 05:31:28 +0000
commit44446d10b098d1b05f03d450cb6290eb1a1de3b8 (patch)
tree400c57de31e3454534c66c0735874eb084a6a048 /SecurityPkg
parent6bb0ff6059fd1643ad719c2086ab5e784dc5a933 (diff)
downloadedk2-topics-44446d10b098d1b05f03d450cb6290eb1a1de3b8.tar.gz
Fix a bug about the “VendorKey” variable update logic.
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> Reviewed-by: Dong Guo <guo.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14746 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg')
-rw-r--r--SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c b/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c
index 1f930e8a1..71de272bf 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) {