summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524>2012-02-27 02:33:20 +0000
committergdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524>2012-02-27 02:33:20 +0000
commit65cc57fc4162563c1f8367ed69db8274ea7cabdc (patch)
tree96a7a134c254aaa1c9d1f17e16549c43b1397d89
parentf74dc4bbba84a07f8c01fea4c43aa77d800ee43c (diff)
downloadedk2-platforms-65cc57fc4162563c1f8367ed69db8274ea7cabdc.tar.xz
Remove ASSERT to let DXE core return gracefully when loading an invalid image.
Signed-off-by: gdong1 Reviewed-by: jyao1 Reviewed-by: CZhang46 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13035 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.c b/SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.c
index c012f130d9..d3c7bfec62 100644
--- a/SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.c
+++ b/SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.c
@@ -1,7 +1,7 @@
/** @file
The library instance provides security service of TPM measure boot.
-Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -304,8 +304,6 @@ TcgMeasurePeImage (
"TcgMeasurePeImage: Unknown subsystem type %d",
ImageType
));
- ASSERT (FALSE);
- TcgEvent->EventType = ImageType;
Status = EFI_UNSUPPORTED;
goto Finish;
}