diff options
author | gdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-12-02 07:51:23 +0000 |
---|---|---|
committer | gdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-12-02 07:51:23 +0000 |
commit | 2e24814ac91802d287db733d9f789f9eea2f3dc3 (patch) | |
tree | 2bea00eb6884eac1d72fad12beceb9ee18baffc0 /SecurityPkg/VariableAuthenticated/RuntimeDxe | |
parent | 28c6c8780d9c4d5ec03fe82207f5b27117c842d1 (diff) | |
download | edk2-platforms-2e24814ac91802d287db733d9f789f9eea2f3dc3.tar.xz |
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
Diffstat (limited to 'SecurityPkg/VariableAuthenticated/RuntimeDxe')
-rw-r--r-- | SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) {
|