]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg Variable: Make PK & SecureBootMode consistent
authorChao Zhang <chao.b.zhang@intel.com>
Mon, 11 May 2015 05:49:31 +0000 (05:49 +0000)
committerczhang46 <czhang46@Edk2>
Mon, 11 May 2015 05:49:31 +0000 (05:49 +0000)
commit98e9d30f787fc0c25fe5232c29fd0bfb9fb446c4
tree54d4c58bdd75ddcb1a9cd09ffef2cfd017e7275b
parent74705ca53e18ce290a5d8fd932c18742b93d82ff
SecurityPkg Variable: Make PK & SecureBootMode consistent

PK can be cleared in runtime. However SecureBootMode variable is not updated accordingly.  Add code in variable init to make them consistent.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17401 6f19259b-4bc3-4df7-8a09-765794883524
SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c