]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg/TlsAuthConfigDxe: Declare EFIAPI for the ChooseFile handler
authorGary Lin <glin@suse.com>
Mon, 16 Jan 2017 06:30:10 +0000 (14:30 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Wed, 18 Jan 2017 04:57:51 +0000 (12:57 +0800)
commit7be6e6776253d3638f03375e346e978228af5edb
treed1a803998b55545a1d7deeb686d6505ea3c0ecd3
parent315d9d08fd77db1024ccc5307823da8aaed85e2f
NetworkPkg/TlsAuthConfigDxe: Declare EFIAPI for the ChooseFile handler

The ChooseFile handler, UpdateCAFromFile, has to be EFIAPI or gcc would
use the wrong ABI and cause the crash of the firmware. This commit also
removes the unnecessary type casting in ChooseFile.

Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.c