Re: [PATCH 1/1] efi_loader: CloseProtocol in tcg2_measure_gpt_data

2022-10-10 Thread Ilias Apalodimas
On Fri, Oct 07, 2022 at 03:38:45PM +0200, Heinrich Schuchardt wrote: > The CloseProtocol() boot service requires a handle as first argument. > Passing the protocol interface is incorrect. > > CloseProtocol() only has an effect if called with a non-zero value for > agent_handle. HandleProtocol() us

Re: [PATCH 1/1] efi_loader: CloseProtocol in tcg2_measure_gpt_data

2022-10-07 Thread Ilias Apalodimas
On Fri, Oct 07, 2022 at 03:38:45PM +0200, Heinrich Schuchardt wrote: > The CloseProtocol() boot service requires a handle as first argument. > Passing the protocol interface is incorrect. > > CloseProtocol() only has an effect if called with a non-zero value for > agent_handle. HandleProtocol() us

[PATCH 1/1] efi_loader: CloseProtocol in tcg2_measure_gpt_data

2022-10-07 Thread Heinrich Schuchardt
The CloseProtocol() boot service requires a handle as first argument. Passing the protocol interface is incorrect. CloseProtocol() only has an effect if called with a non-zero value for agent_handle. HandleProtocol() uses an opaque agent_handle when invoking OpenProtocol() (currently NULL). Theref