mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +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 {
|
||||
return FALSE;
|
||||
}
|
||||
ASSERT (PublicKeyData != NULL);
|
||||
ASSERT (PublicKeyDataLength != 0);
|
||||
|
||||
Status = AuthenticateFmpImage(
|
||||
ImageAuth,
|
||||
|
Loading…
x
Reference in New Issue
Block a user