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:
@@ -45,12 +45,9 @@ X509ConstructCertificate (
|
||||
//
|
||||
// ASSERT if Cert is NULL or SingleX509Cert is NULL.
|
||||
//
|
||||
ASSERT (Cert != NULL);
|
||||
ASSERT (Cert != NULL);
|
||||
ASSERT (SingleX509Cert != NULL);
|
||||
|
||||
if (CertSize > INT_MAX) {
|
||||
return FALSE;
|
||||
}
|
||||
ASSERT (CertSize <= INT_MAX);
|
||||
|
||||
Status = FALSE;
|
||||
|
||||
|
Reference in New Issue
Block a user