Update a return status for UEFI spec compliance.

Signed-off-by: gdong1
Reviewed-by: tye

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12813 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
gdong1 2011-12-02 07:51:23 +00:00
parent 28c6c8780d
commit 2e24814ac9
1 changed files with 1 additions and 1 deletions

View File

@ -1467,7 +1467,7 @@ VerifyTimeBasedPayload (
(CertData->TimeStamp.TimeZone != 0) ||
(CertData->TimeStamp.Daylight != 0) ||
(CertData->TimeStamp.Pad2 != 0)) {
return EFI_INVALID_PARAMETER;
return EFI_SECURITY_VIOLATION;
}
if ((Variable->CurrPtr != NULL) && ((Attributes & EFI_VARIABLE_APPEND_WRITE) == 0)) {