X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFrameworkModulePkg%2FUniversal%2FFirmwareVolume%2FFwVolDxe%2FFwVolRead.c;h=0d9021914f3331857fff87ca0a02c5224a282854;hp=8e2706bb8a72866c37df30ec15be4e467d41ce16;hb=37136e069dc0a0b8a47098d80d8f6f742db88c04;hpb=2bc08e8cd64d2f2ab80f11abc63fc8291126626e diff --git a/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolRead.c b/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolRead.c index 8e2706bb8a..0d9021914f 100644 --- a/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolRead.c +++ b/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolRead.c @@ -1,7 +1,7 @@ /** @file Implements functions to read firmware file. - Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions @@ -405,7 +405,10 @@ FvReadFile ( if ((FvDevice->FwVolHeader->Attributes & EFI_FVB2_MEMORY_MAPPED) == EFI_FVB2_MEMORY_MAPPED) { *FileAttributes |= EFI_FV_FILE_ATTRIB_MEMORY_MAPPED; } - *AuthenticationStatus = 0; + // + // Inherit the authentication status. + // + *AuthenticationStatus = FvDevice->AuthenticationStatus; // // If Buffer is NULL, we only want to get some information