Update return FALSE to ASSERT() for code consistent.

Signed-off-by: tye
Reviewed-by: jyao1




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12659 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
tye1
2011-11-04 02:55:30 +00:00
parent 8536cc4b37
commit d3945da644
4 changed files with 19 additions and 31 deletions

View File

@ -60,14 +60,11 @@ AuthenticodeVerify (
UINTN ContentSize;
//
// ASSERT if Authenticode Signature Data or PE Image Hash is NULL
// ASSERT if Authenticode Signature Data or PE Image Hash is NULL.
//
ASSERT (AuthData != NULL);
ASSERT (ImageHash != NULL);
if (DataSize > INT_MAX) {
return FALSE;
}
ASSERT (DataSize <= INT_MAX);
Status = FALSE;
Pkcs7 = NULL;