audk/NetworkPkg
Laszlo Ersek 9f5d1f7c31 NetworkPkg/TlsAuthConfigDxe: replace OpenFileByDevicePath() with UefiLib API
Replace the OpenFileByDevicePath() function with EfiOpenFileByDevicePath()
from UefiLib, correcting the following issues:

- imprecise comments on OpenFileByDevicePath(),
- code duplication between this module and other modules,
- local variable name "EfiSimpleFileSystemProtocol" starting with "Efi"
  prefix,
- bogus "FileHandle = NULL" assignments,
- passing a potentially unaligned "FILEPATH_DEVICE_PATH.PathName" field to
  a protocol member function (forbidden by the UEFI spec),
- leaking "Handle1" when the device path type/subtype check fails in the
  loop,
- stale SHELL_FILE_HANDLE reference in a comment.

Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1008
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
2018-08-16 20:02:50 +02:00
..
Application NetworkPkg: Removing ipf which is no longer supported from edk2. 2018-08-14 08:58:30 +08:00
Dhcp6Dxe NetworkPkg: Removing ipf which is no longer supported from edk2. 2018-08-14 08:58:30 +08:00
DnsDxe NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
HttpBootDxe NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
HttpDxe NetworkPkg/HttpDxe: Strip square brackets in IPv6 expressed HostName. 2018-08-03 08:34:03 +08:00
HttpUtilitiesDxe NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
IScsiDxe NetworkPkg: Removing ipf which is no longer supported from edk2. 2018-08-14 08:58:30 +08:00
Include/Guid NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
Ip6Dxe NetworkPkg: Removing ipf which is no longer supported from edk2. 2018-08-14 08:58:30 +08:00
IpSecDxe NetworkPkg: Removing ipf which is no longer supported from edk2. 2018-08-14 08:58:30 +08:00
Mtftp6Dxe NetworkPkg: Removing ipf which is no longer supported from edk2. 2018-08-14 08:58:30 +08:00
TcpDxe NetworkPkg: Removing ipf which is no longer supported from edk2. 2018-08-14 08:58:30 +08:00
TlsAuthConfigDxe NetworkPkg/TlsAuthConfigDxe: replace OpenFileByDevicePath() with UefiLib API 2018-08-16 20:02:50 +02:00
TlsDxe NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
Udp6Dxe NetworkPkg: Removing ipf which is no longer supported from edk2. 2018-08-14 08:58:30 +08:00
UefiPxeBcDxe NetworkPkg: Removing ipf which is no longer supported from edk2. 2018-08-14 08:58:30 +08:00
NetworkPkg.dec NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
NetworkPkg.dsc NetworkPkg: Removing ipf which is no longer supported from edk2. 2018-08-14 08:58:30 +08:00
NetworkPkg.uni NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
NetworkPkgExtra.uni NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00