From 2e24814ac91802d287db733d9f789f9eea2f3dc3 Mon Sep 17 00:00:00 2001 From: gdong1 Date: Fri, 2 Dec 2011 07:51:23 +0000 Subject: [PATCH] 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 --- SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c b/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c index 3aa6de0fd2..ea5e973a31 100644 --- a/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c +++ b/SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c @@ -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)) { -- 2.39.2