OvmfPkg/EnrollDefaultKeys: do not check VendorKeys

AuthVariableLib behavior wrt VendorKeys changes depending on
PcdRequireSelfSignedPk state.  Given this is not security critical
just skip the VendorKeys check in EnrollDefaultKeys

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2026-04-02 15:25:23 +02:00 committed by mergify[bot]
parent 0a7ed7ed34
commit 75ea215310

View file

@ -851,8 +851,7 @@ ShellAppMain (
PrintSettings (&Settings);
if ((Settings.SetupMode != 0) || (Settings.SecureBoot != 1) ||
(Settings.SecureBootEnable != 1) || (Settings.CustomMode != 0) ||
(Settings.VendorKeys != 0))
(Settings.SecureBootEnable != 1) || (Settings.CustomMode != 0))
{
AsciiPrint ("error: unexpected\n");
goto FreePkKek1;