diff options
author | czhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-09-13 11:28:27 +0000 |
---|---|---|
committer | czhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-09-13 11:28:27 +0000 |
commit | 89799ec9545164738ac448175c028f76de42a737 (patch) | |
tree | ffae61dbf730bbdf02a005a249778160567cd364 /SecurityPkg/Library/DxeImageAuthenticationStatusLib | |
parent | d0043e49ffcfe020a8e934e1203a25561e94b0a5 (diff) | |
download | edk2-platforms-89799ec9545164738ac448175c028f76de42a737.tar.xz |
Fix coding style issue
Signed-off-by : Chao Zhang<chao.b.zhang@intel.com>
Reviewed-by : Guo Dong<guo.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13730 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/Library/DxeImageAuthenticationStatusLib')
-rw-r--r-- | SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.c b/SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.c index 9d3103639c..bc1acd1fed 100644 --- a/SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.c +++ b/SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.c @@ -44,8 +44,8 @@ DxeImageAuthenticationStatusHandler ( 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;
}
}
|