/** @file\r
Provides generic security measurement functions for DXE module.\r
\r
-Copyright (c) 2009 Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
http://opensource.org/licenses/bsd-license.php\r
// Try get file buffer when the handler requires image buffer.\r
//\r
if (FileBuffer == NULL) {\r
+ //\r
+ // Try to get image by FALSE boot policy for the exact boot file path.\r
+ //\r
FileBuffer = GetFileBufferByFilePath (FALSE, FilePath, &FileSize, &AuthenticationStatus);\r
+ if (FileBuffer == NULL) {\r
+ //\r
+ // Try to get image by TRUE boot policy for the inexact boot file path.\r
+ //\r
+ FileBuffer = GetFileBufferByFilePath (TRUE, FilePath, &FileSize, &AuthenticationStatus);\r
+ }\r
}\r
}\r
Status = mSecurityTable[Index].SecurityHandler (\r