mirror of
https://git.proxmox.com/git/mirror_edk2
synced 2025-11-03 12:09:17 +00:00
Per spec, the GetVariable() runtime service is not required to populate
(*Attributes) on output when it fails with EFI_BUFFER_TOO_SMALL.
Therefore we have to fetch the full contents of the TlsCaCertificate
variable temporarily, just so we can (a) get the current attributes, and
(b) add EFI_VARIABLE_APPEND_WRITE to them for the subsequent SetVariable()
call.
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Songpeng Li <songpeng.li@intel.com>
Reported-by: Songpeng Li <songpeng.li@intel.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1090
Fixes:
|
||
|---|---|---|
| .. | ||
| TlsAuthConfigDxe.c | ||
| TlsAuthConfigDxe.inf | ||
| TlsAuthConfigDxe.uni | ||
| TlsAuthConfigDxeExtra.uni | ||
| TlsAuthConfigDxeStrings.uni | ||
| TlsAuthConfigImpl.c | ||
| TlsAuthConfigImpl.h | ||
| TlsAuthConfigNvData.h | ||
| TlsAuthConfigVfr.vfr | ||