audk/NetworkPkg/TlsAuthConfigDxe
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
..
TlsAuthConfigDxe.c NetworkPkg: Clean up source files 2018-06-28 11:19:49 +08:00
TlsAuthConfigDxe.inf NetworkPkg/TlsAuthConfigDxe: replace OpenFileByDevicePath() with UefiLib API 2018-08-16 20:02:50 +02: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: replace OpenFileByDevicePath() with UefiLib API 2018-08-16 20:02:50 +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