/**\r
Clean up signer's certificates for common authenticated variable\r
by corresponding VariableName and VendorGuid from "certdb".\r
- Sytem may break down during Timebased Variable update & certdb update,\r
- make them inconsistent, this function is called in AuthVariable Init to ensure \r
- consistency\r
- \r
- @retval EFI_NOT_FOUND Fail to find matching certs.\r
- @retval EFI_SUCCESS Find matching certs and output parameters.\r
+ System may break down during Timebased Variable update & certdb update,\r
+ make them inconsistent, this function is called in AuthVariable Init\r
+ to ensure consistency.\r
+\r
+ @retval EFI_NOT_FOUND Fail to find variable "certdb".\r
+ @retval EFI_OUT_OF_RESOURCES The operation is failed due to lack of resources.\r
+ @retval EFI_SUCCESS The operation is completed successfully.\r
\r
**/\r
EFI_STATUS\r
\r
while (Offset < (UINT32) DataSize) {\r
Ptr = (AUTH_CERT_DB_DATA *) (Data + Offset);\r
- //\r
- // Check whether VendorGuid matches.\r
- //\r
NodeSize = ReadUnaligned32 (&Ptr->CertNodeSize);\r
NameSize = ReadUnaligned32 (&Ptr->NameSize);\r
\r
//\r
Status = CleanCertsFromDb();\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_INFO, "Clean up CertDB fail! Status %x\n", Status));\r
+ DEBUG ((EFI_D_ERROR, "Clean up CertDB fail! Status %x\n", Status));\r
return Status;\r
}\r
}\r