mirror of https://github.com/acidanthera/audk.git
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:
parent
6bb0ff6059
commit
44446d10b0
|
@ -1089,7 +1089,7 @@ ProcessVarWithPk (
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mPlatformMode != SETUP_MODE) {
|
if (mPlatformMode != SETUP_MODE || IsPk) {
|
||||||
Status = VendorKeyIsModified ();
|
Status = VendorKeyIsModified ();
|
||||||
}
|
}
|
||||||
} else if (mPlatformMode == USER_MODE) {
|
} else if (mPlatformMode == USER_MODE) {
|
||||||
|
|
Loading…
Reference in New Issue