[Skiboot] [RFC 4/8] secboot_tpm_switchable merge

Eric Richter erichte at linux.ibm.com
Wed Sep 22 13:11:25 AEST 2021


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;
         }
-- 
2.33.0



More information about the Skiboot mailing list