audk/NetworkPkg
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
..
Application
Dhcp6Dxe
DnsDxe
HttpBootDxe NetworkPkg/HttpBootDxe: fix typo in DHCPv4 packet parsing 2018-03-28 13:07:07 +02:00
HttpDxe NetworkPkg/HttpDxe: sanity-check the TlsCaCertificate variable before use 2018-03-28 13:07:34 +02:00
HttpUtilitiesDxe
IScsiDxe NetworkPkg/IScsiDxe: Fix the ISCSI connection failure in certain case. 2018-03-13 16:55:24 +08:00
Include/Guid NetworkPkg: Correct HttpTlsCipherList.h file format to DOS 2018-03-26 11:11:46 +08:00
Ip6Dxe
IpSecDxe
Mtftp6Dxe
TcpDxe
TlsAuthConfigDxe NetworkPkg/TlsAuthConfigDxe: preserve TlsCaCertificate variable attributes 2018-03-28 13:07:36 +02:00
TlsDxe NetworkPkg/TlsDxe: Handle the multiple TLS record messages encryption/decryption. 2018-03-22 08:24:53 +08:00
Udp6Dxe NetworkPkg/Udp6Dxe: Fix the failure to leave one multicast group address. 2018-03-02 11:15:38 +08:00
UefiPxeBcDxe NetworkPkg/UefiPxeBcDxe: Configure the ARP Instance/RouteTable with new address 2018-03-22 08:25:20 +08:00
NetworkPkg.dec NetworkPkg: Define one private variable for HTTPS to set Tls CipherList. 2018-02-14 07:31:43 +08:00
NetworkPkg.dsc NetworkPkg: Update package version to 0.98 2018-01-23 13:27:08 +08:00
NetworkPkg.uni
NetworkPkgExtra.uni