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 NetworkPkg: Convert files to CRLF line ending 2017-04-06 15:43:48 +08:00
TlsAuthConfigDxeExtra.uni NetworkPkg: Convert files to CRLF line ending 2017-04-06 15:43:48 +08:00
TlsAuthConfigDxeStrings.uni NetworkPkg: Convert files to CRLF line ending 2017-04-06 15:43:48 +08:00
TlsAuthConfigImpl.c NetworkPkg/TlsAuthConfigDxe: preserve TlsCaCertificate variable attributes 2018-03-28 13:07:36 +02:00
TlsAuthConfigImpl.h NetworkPkg: Convert files to CRLF line ending 2017-04-06 15:43:48 +08:00
TlsAuthConfigNvData.h NetworkPkg: Convert files to CRLF line ending 2017-04-06 15:43:48 +08:00
TlsAuthConfigVfr.vfr NetworkPkg: Convert files to CRLF line ending 2017-04-06 15:43:48 +08:00