mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-31 01:24:12 +02:00
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.
|
// Try get file buffer when the handler requires image buffer.
|
||||||
//
|
//
|
||||||
if (FileBuffer == NULL) {
|
if (FileBuffer == NULL) {
|
||||||
|
//
|
||||||
|
// Try to get image by FALSE boot policy for the exact boot file path.
|
||||||
|
//
|
||||||
FileBuffer = GetFileBufferByFilePath (FALSE, FilePath, &FileSize, &AuthenticationStatus);
|
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 (
|
Status = mSecurityTable[Index].SecurityHandler (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user