Revision: 18869
http://sourceforge.net/p/edk2/code/18869
Author: vanjeff
Date: 2015-11-18 08:03:37 +0000 (Wed, 18 Nov 2015)
Log Message:
-----------
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.
(Sync patch r18732 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Chao <[email protected]>
Reviewed-by: Gao Liming <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/18732
Modified Paths:
--------------
branches/UDK2015/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c
Modified:
branches/UDK2015/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c
===================================================================
---
branches/UDK2015/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c
2015-11-18 05:38:35 UTC (rev 18868)
+++
branches/UDK2015/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c
2015-11-18 08:03:37 UTC (rev 18869)
@@ -357,12 +357,6 @@
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;
------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits