]> git.proxmox.com Git - mirror_edk2.git/commit
EmulatorPkg/RedfishPlatformCredentialLib: Check EFI_SECURE_BOOT_MODE_NAME
authorAbner Chang <abner.chang@hpe.com>
Fri, 4 Mar 2022 08:45:05 +0000 (16:45 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 16 Mar 2022 08:58:43 +0000 (08:58 +0000)
commit33438f7354af9c04cb296fb15a7a79c2c3944c0a
tree8e40fd6b12ba9662b79e4e6bf6e359986e3350b7
parent414cd2a4d536b444acee3fcdbe33bd0c8ef9819b
EmulatorPkg/RedfishPlatformCredentialLib: Check EFI_SECURE_BOOT_MODE_NAME

https://bugzilla.tianocore.org/show_bug.cgi?id=3858

Check EFI_SECURE_BOOT_MODE_NAME before setting the flags to
prohibit acquiring Redfish service credential and using Redfish
service.

Signed-off-by: Abner Chang <abner.chang@hpe.com>
Cc: Nickle Wang <nickle.wang@hpe.com>
Cc: Andrew Fish <afish@apple.com>
Cc: Ray Ni <ray.ni@intel.com>
Reviewed-by: Nickle Wang <nickle.wang@hpe.com>
EmulatorPkg/Library/RedfishPlatformCredentialLib/RedfishPlatformCredentialLib.c