From: gdong1 Date: Mon, 27 Feb 2012 02:33:20 +0000 (+0000) Subject: Remove ASSERT to let DXE core return gracefully when loading an invalid image. X-Git-Tag: edk2-stable201903~13625 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=65cc57fc4162563c1f8367ed69db8274ea7cabdc 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 --- 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.
+Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.
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; }