mirror of https://github.com/acidanthera/audk.git
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:
parent
28c6c8780d
commit
2e24814ac9
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue