audk/NetworkPkg
Laszlo Ersek b1c81b6ec3 NetworkPkg/TlsDxe: clean up byte order conversion for EfiTlsCipherList
Fix the following style issues:

- "Data" is accessed through a pointer to UINT16 rather than to a pointer
  to EFI_TLS_CIPHER. While technically correct, UINT16 is harder to
  interpret against the UEFI spec.

- Array subscripting is written with weird *(Pointer + Offset)
  expressions, rather than with Pointer[Offset].

- The byte order is converted with HTONS(), while it should be NTOHS().
  Either way, use the Data1 and Data2 fields of EFI_TLS_CIPHER instead.

Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=915
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: Long Qin <qin.long@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
2018-04-13 14:06:12 +02:00
..
Application NetworkPkg: Remove ping6 and ifconfig shell application. 2017-10-23 09:01:57 +08:00
Dhcp6Dxe NetworkPkg: Update Api from NetLibDetectMedia to NetLibDetectMediaWaitTimeout. 2017-12-18 16:38:24 +08:00
DnsDxe NetworkPkg: Update Api from NetLibDetectMedia to NetLibDetectMediaWaitTimeout. 2017-12-18 16:38:24 +08:00
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 NetworkPkg: Fix GCC build error. 2017-09-06 18:08:07 +08:00
IpSecDxe NetworkPkg: Refine casting expression result to bigger size 2017-03-06 14:33:23 +08:00
Mtftp6Dxe NetworkPkg: Refine casting expression result to bigger size 2017-03-06 14:33:23 +08:00
TcpDxe NetworkPkg/TcpDxe: Check TCP payload for release version. 2017-12-27 16:27:51 +08:00
TlsAuthConfigDxe NetworkPkg/TlsAuthConfigDxe: preserve TlsCaCertificate variable attributes 2018-03-28 13:07:36 +02:00
TlsDxe NetworkPkg/TlsDxe: clean up byte order conversion for EfiTlsCipherList 2018-04-13 14:06:12 +02: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 NetworkPkg: Define the prompt and help information for new PCD. 2017-03-01 15:40:27 +08:00
NetworkPkgExtra.uni