mirror of https://github.com/acidanthera/audk.git
4b026f0d5a
The DxeTpmMeasureBootHandler and DxeTpm2MeasureBootHandler handlers
are SECURITY2_FILE_AUTHENTICATION_HANDLER prototype. This prototype
can not return EFI_INVALID_PARAMETER.
The prototype documentation states it returns EFI_ACCESS_DENIED if:
"The file specified by File and FileBuffer did not authenticate,
and the platform policy dictates that the DXE Foundation may not
use File."
Correct the documentation, and add a early check, returning
EFI_ACCESS_DENIED when File is NULL.
Noticed while reviewing commit
|
||
---|---|---|
.. | ||
FvReportPei | ||
Hash2DxeCrypto | ||
HddPassword | ||
Include | ||
Library | ||
Pkcs7Verify/Pkcs7VerifyDxe | ||
RandomNumberGenerator/RngDxe | ||
Tcg | ||
VariableAuthenticated/SecureBootConfigDxe | ||
SecurityPkg.ci.yaml | ||
SecurityPkg.dec | ||
SecurityPkg.dsc | ||
SecurityPkg.uni | ||
SecurityPkgExtra.uni |