BUG/MINOR: ssl: ssl_conf always set to NULL on crt-list parsing
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 10 Apr 2020 15:13:09 +0000 (17:13 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 10 Apr 2020 15:43:58 +0000 (17:43 +0200)
commit87a0db9993b057b1fe7309ddedda7de0f55d6be2
treef1c52703504a39e96b1f7a52f8e44160166b8a55
parente718dfb4c2d643c696fa544c27103262b664f320
BUG/MINOR: ssl: ssl_conf always set to NULL on crt-list parsing

When reading a crt-list file, the SSL options betweeen square brackets
are parsed, however the calling function sets the ssl_conf ptr to NULL
leading to all options being ignored, and a memory leak.

This is a remaining of the previous code which was forgotten.

This bug was introduced by 97b0810 ("MINOR: ssl: split the line parsing
of the crt-list").
src/ssl_sock.c