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
This commit is contained in:
czhang46 2012-09-13 11:28:27 +00:00
parent d0043e49ff
commit 89799ec954
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}