mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
f74dc4bbba
commit
65cc57fc41
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue