mirror of https://github.com/acidanthera/audk.git
Try to get the image form device path by FALSE and TRUE boot policy.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9589 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
8f635c36ad
commit
2983a79df5
|
@ -229,7 +229,16 @@ ExecuteSecurityHandlers (
|
|||
// Try get file buffer when the handler requires image buffer.
|
||||
//
|
||||
if (FileBuffer == NULL) {
|
||||
//
|
||||
// Try to get image by FALSE boot policy for the exact boot file path.
|
||||
//
|
||||
FileBuffer = GetFileBufferByFilePath (FALSE, FilePath, &FileSize, &AuthenticationStatus);
|
||||
if (FileBuffer == NULL) {
|
||||
//
|
||||
// Try to get image by TRUE boot policy for the inexact boot file path.
|
||||
//
|
||||
FileBuffer = GetFileBufferByFilePath (TRUE, FilePath, &FileSize, &AuthenticationStatus);
|
||||
}
|
||||
}
|
||||
}
|
||||
Status = mSecurityTable[Index].SecurityHandler (
|
||||
|
|
Loading…
Reference in New Issue