BUG/MINOR: ssl: close ssl key file on error
authormildis <me@mildis.org>
Wed, 22 Jun 2016 15:46:29 +0000 (17:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 24 Jun 2016 13:27:30 +0000 (15:27 +0200)
commit16aa0153b50cc051432ffd82a86ea0a1e258e650
treea5dafec1f8b5aa1c00d74835021782f20bcaba4e
parenta58c4359bb2d11fcaed27bb3ec1cabd9b16d4ccb
BUG/MINOR: ssl: close ssl key file on error

Explicitly close the FILE opened to read the ssl key file when parsing
fails to find a valid key.

This fix needs to be backported to 1.6.
src/ssl_sock.c