X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FCore%2FPei%2FSecurity%2FSecurity.c;h=f08926766a6019caaf1bfc1c0568133e0b563da3;hp=a7515ec2205c243517bf71c0f3a7236be4e004cc;hb=c79351059ee7ee24ebed312413cb5e57076c5b56;hpb=71fd9fae8bda10f41a9c6445f01eed82b99883da diff --git a/MdeModulePkg/Core/Pei/Security/Security.c b/MdeModulePkg/Core/Pei/Security/Security.c index a7515ec220..f08926766a 100644 --- a/MdeModulePkg/Core/Pei/Security/Security.c +++ b/MdeModulePkg/Core/Pei/Security/Security.c @@ -1,7 +1,7 @@ /** @file EFI PEI Core Security services -Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -78,13 +78,12 @@ SecurityPpiNotifyCallback ( } /** - Provide a callout to the security verification service. - @param PrivateData PeiCore's private data structure @param VolumeHandle Handle of FV @param FileHandle Handle of PEIM's ffs + @param AuthenticationStatus Authentication status @retval EFI_SUCCESS Image is OK @retval EFI_SECURITY_VIOLATION Image is illegal @@ -94,17 +93,13 @@ EFI_STATUS VerifyPeim ( IN PEI_CORE_INSTANCE *PrivateData, IN EFI_PEI_FV_HANDLE VolumeHandle, - IN EFI_PEI_FILE_HANDLE FileHandle + IN EFI_PEI_FILE_HANDLE FileHandle, + IN UINT32 AuthenticationStatus ) { EFI_STATUS Status; - UINT32 AuthenticationStatus; BOOLEAN DeferExection; - // - // Set a default authentication state - // - AuthenticationStatus = 0; if (PrivateData->PrivateSecurityPpi == NULL) { Status = EFI_NOT_FOUND;