Re: [edk2] [Patch] NetworkPkg/TlsAuthConfigDxe: Close and free the file related resource

2017-04-13 Thread Wu, Jiaxin
Thanks, chao, I will refine the patch as your comments. > -Original Message- > From: Zhang, Chao B > Sent: Thursday, April 13, 2017 9:49 AM > To: Wu, Jiaxin ; edk2-devel@lists.01.org > Cc: Ye, Ting ; Fu, Siyuan > Subject: RE:

Re: [edk2] [Patch] NetworkPkg/TlsAuthConfigDxe: Close and free the file related resource

2017-04-12 Thread Zhang, Chao B
Jiaxin: I would like to recommend a new function to close the file handle in private datastructure. The closing logic is now scattering around. -Original Message- From: Wu, Jiaxin Sent: Monday, April 10, 2017 12:31 PM To: edk2-devel@lists.01.org Cc: Zhang, Chao B

[edk2] [Patch] NetworkPkg/TlsAuthConfigDxe: Close and free the file related resource

2017-04-09 Thread Jiaxin Wu
TlsAuthConfigDxe open file by FileExplorerLib. It need to close file handler and free file related resource in some cases. * User enrolls Cert by escape the Config page. * The Cert is not X509 type. * User chooses another file after he selected a file. Cc: Zhang Chao B