Revision: 13730
http://edk2.svn.sourceforge.net/edk2/?rev=13730&view=rev
Author: czhang46
Date: 2012-09-13 11:28:27 +0000 (Thu, 13 Sep 2012)
Log Message:
-----------
Fix coding style issue
Signed-off-by : Chao Zhang<[email protected]>
Reviewed-by : Guo Dong<[email protected]>
Modified Paths:
--------------
trunk/edk2/SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.c
Modified:
trunk/edk2/SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.c
===================================================================
---
trunk/edk2/SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.c
2012-09-13 08:34:32 UTC (rev 13729)
+++
trunk/edk2/SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.c
2012-09-13 11:28:27 UTC (rev 13730)
@@ -44,8 +44,8 @@
IN BOOLEAN BootPolicy
)
{
- if (AuthenticationStatus & EFI_AUTH_STATUS_IMAGE_SIGNED) {
- if (AuthenticationStatus & (EFI_AUTH_STATUS_TEST_FAILED |
EFI_AUTH_STATUS_NOT_TESTED)) {
+ if ((AuthenticationStatus & EFI_AUTH_STATUS_IMAGE_SIGNED) != 0) {
+ if ((AuthenticationStatus & (EFI_AUTH_STATUS_TEST_FAILED |
EFI_AUTH_STATUS_NOT_TESTED)) != 0) {
return EFI_ACCESS_DENIED;
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits