Re: [edk2-devel] [PATCH 1/1] SecurityPkg: Fix incorrect return value in documentation

2020-02-04 Thread Laszlo Ersek
Hi Phil, On 02/04/20 23:26, Philippe Mathieu-Daudé wrote: > 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

[edk2-devel] [PATCH 1/1] SecurityPkg: Fix incorrect return value in documentation

2020-02-04 Thread Philippe Mathieu-Daudé
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