audk/NetworkPkg/TlsAuthConfigDxe
Laszlo Ersek b90c335fbb NetworkPkg/TlsAuthConfigDxe: preserve TlsCaCertificate variable attributes
If the platform creates the "TlsCaCertificate" variable as volatile, then
EnrollX509toVariable() shouldn't fail to extend it just because
TLS_AUTH_CONFIG_VAR_BASE_ATTR contains the EFI_VARIABLE_NON_VOLATILE
attribute.

Thus, if the variable exists, add the EFI_VARIABLE_APPEND_WRITE attribute
to the variable's current attributes. This is what DeleteCert() does
already.

Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
2018-03-28 13:07:36 +02:00
..
TlsAuthConfigDxe.c NetworkPkg/TlsAuthConfigDxe: Remove the extra FreePool 2017-10-26 16:21:57 +08:00
TlsAuthConfigDxe.inf NetworkPkg: Update Protocol/Guid usage in INF file to match source code logic 2017-10-10 18:10:21 +08:00
TlsAuthConfigDxe.uni
TlsAuthConfigDxeExtra.uni
TlsAuthConfigDxeStrings.uni
TlsAuthConfigImpl.c NetworkPkg/TlsAuthConfigDxe: preserve TlsCaCertificate variable attributes 2018-03-28 13:07:36 +02:00
TlsAuthConfigImpl.h
TlsAuthConfigNvData.h
TlsAuthConfigVfr.vfr