From 65cc57fc4162563c1f8367ed69db8274ea7cabdc Mon Sep 17 00:00:00 2001 From: gdong1 Date: Mon, 27 Feb 2012 02:33:20 +0000 Subject: [PATCH] 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 --- .../Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.c | 4 +--- 1 file changed, 1 insertion(+), 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.
+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; } -- 2.39.2