mirror of https://github.com/acidanthera/audk.git
6896efdec2
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 |