diff options
author | Zhang Chao <chao.b.zhang@intel.com> | 2015-11-06 01:56:51 +0000 |
---|---|---|
committer | czhang46 <czhang46@Edk2> | 2015-11-06 01:56:51 +0000 |
commit | ca52754cfd3421648292b3764697af1735b199dd (patch) | |
tree | f48837c59d7fc78f138ca06c3576c38b26c0ea77 /SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib | |
parent | 31b27ef1aa3819ab6418e0b148a41ec27acdbd18 (diff) | |
download | edk2-ca52754cfd3421648292b3764697af1735b199dd.tar.gz edk2-ca52754cfd3421648292b3764697af1735b199dd.tar.bz2 edk2-ca52754cfd3421648292b3764697af1735b199dd.zip |
SecurityPkg: Remove temp return solution in PeiRsa2048Sha256 Section Lib
PeiCore supports EFI_PEI_SECURITY_PPI to handle section extraction failure. The wrong returning status is no longer needed.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Chao <chao.b.zhang@intel.com>
Reviewed-by: Gao Liming <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18732 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib')
-rw-r--r-- | SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c b/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c index e448164a5a..473370300a 100644 --- a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c +++ b/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c @@ -357,12 +357,6 @@ Done: FreePool (HashContext);
}
- //
- // Temp solution until PeiCore checks AUTH Status.
- //
- if ((*AuthenticationStatus & (EFI_AUTH_STATUS_TEST_FAILED | EFI_AUTH_STATUS_NOT_TESTED)) != 0) {
- Status = EFI_ACCESS_DENIED;
- }
DEBUG ((DEBUG_VERBOSE, "PeiRsa2048Sha256: Status = %r AuthenticationStatus = %08x\n", Status, *AuthenticationStatus));
return Status;
|