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
This commit is contained in:
Fu Siyuan 2013-10-08 05:31:28 +00:00 committed by sfu5
parent 6bb0ff6059
commit 44446d10b0
1 changed files with 1 additions and 1 deletions

View File

@ -1089,7 +1089,7 @@ ProcessVarWithPk (
return Status;
}
if (mPlatformMode != SETUP_MODE) {
if (mPlatformMode != SETUP_MODE || IsPk) {
Status = VendorKeyIsModified ();
}
} else if (mPlatformMode == USER_MODE) {