diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr index 4e790634da..df7ff37a86 100644 --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr @@ -158,7 +158,7 @@ formset questionid = KEY_SECURE_BOOT_DELETE_PK, prompt = STRING_TOKEN(STR_DELETE_PK), help = STRING_TOKEN(STR_DELETE_PK_HELP), - flags = INTERACTIVE, + flags = INTERACTIVE | RESET_REQUIRED, endcheckbox; endif; endform; diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c index 26fc09d52d..a680473a7d 100644 --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c @@ -2517,7 +2517,7 @@ SecureBootCallback ( NULL ); } else { - *ActionRequest = EFI_BROWSER_ACTION_REQUEST_EXIT; + *ActionRequest = EFI_BROWSER_ACTION_REQUEST_RESET; } break;