[Skiboot] [RFC 4/8] secboot_tpm_switchable merge
Eric Richter
erichte at linux.ibm.com
Wed Sep 22 13:16:03 AEST 2021
Disregard this patch, it should have been squashed into the previous commit. Apparently I need to proofread a few hundred more times before sending.
On 9/21/21 10:11 PM, Eric Richter wrote:
> Signed-off-by: Eric Richter <erichte at linux.ibm.com>
> ---
> libstb/secvar/storage/secboot_tpm_switchable.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libstb/secvar/storage/secboot_tpm_switchable.c b/libstb/secvar/storage/secboot_tpm_switchable.c
> index 0790ed68..28b1f434 100644
> --- a/libstb/secvar/storage/secboot_tpm_switchable.c
> +++ b/libstb/secvar/storage/secboot_tpm_switchable.c
> @@ -64,7 +64,7 @@ static int pre_switchable_init(void)
> }
> free(indices);
>
> - if (secvar_check_clear_keys() || secvar_check_set_default_keys()) {
> + if (secvar_check_clear_keys() || secvar_check_reset_default_keys()) {
> /* TODO: undefine *ALL THREE* indices */
> mode_defined = control_defined = vars_defined = false;
> }
>
More information about the Skiboot
mailing list