Re: MINOR: ssl: close ssl key file on error

2016-06-24 Thread Willy Tarreau
Hi Mildis, On Wed, Jun 22, 2016 at 06:17:42PM +0200, Mildis wrote: > Hi, > > Please find attached a patch which corrects ssl_sock.c. > > It closes explicitly the FILE opened to read the ssl key file when parsing > fails to find a valid key. > Previous behavior : returned from the function

MINOR: ssl: close ssl key file on error

2016-06-22 Thread Mildis
Hi, Please find attached a patch which corrects ssl_sock.c. It closes explicitly the FILE opened to read the ssl key file when parsing fails to find a valid key. Previous behavior : returned from the function after having set the error flags but not closed the file. Regards, Mildis