Hi Jan, On 19.02.25 16:56, Jan Kiszka wrote: > > We can simply make that usage of ebg_env_getglobalstate with NULL as > parameter official. It was and it will be never used because that > "global" in this function implies that a single, externally managed env > cannot contribute anything to the call. >
At least in version 0.15-1 directly calling ebg_env_getglobalstate did not work. It appeared to work but the returned result was always the same. That's why Bjoerns snippet still contains ebg_env_open_current allthough its return value is not used. ebg_env_open_current and others do some internal initialization (not referenced by their returned handle) that is needed as well. best regards Raphael -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/efibootguard-dev/812713b1-b84f-48cf-9229-3858a53cbfbb%40siemens.com.
