mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 16:14:04 +02:00
SignedCapsulePkg/SystemCapsuleLib: Add ASSERT check for PCD
Add ASSERT check for PCD to avoid platform mis-configuration. Cc: Chao Zhang <chao.b.zhang@intel.com> Cc: Qin Long <qin.long@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Qin Long <qin.long@intel.com>
This commit is contained in:
parent
492c05f599
commit
7e6e4f9606
@ -415,6 +415,8 @@ ExtractAuthenticatedImage (
|
|||||||
} else {
|
} else {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
ASSERT (PublicKeyData != NULL);
|
||||||
|
ASSERT (PublicKeyDataLength != 0);
|
||||||
|
|
||||||
Status = AuthenticateFmpImage(
|
Status = AuthenticateFmpImage(
|
||||||
ImageAuth,
|
ImageAuth,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user