BUG/MINOR: ssl/cli: don't overwrite the filters variable
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 4 Dec 2019 14:33:01 +0000 (15:33 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Dec 2019 06:27:54 +0000 (07:27 +0100)
commit16717a63b2d92d7ee8f421d85661fc3a80fef502
treece45f20f47ce116e2986a67f57731accb22a71b1
parentdd2efd48d5c408ebc66e195c867378444acb4f4a
BUG/MINOR: ssl/cli: don't overwrite the filters variable

When a crt-list line using an already used ckch_store does not contain
filters, it will overwrite the ckchs->filters variable with 0.
This problem will generate all sni_ctx of this ckch_store without
filters. Filters generation mustn't be allowed in any case.

Must be backported in 2.1.

(cherry picked from commit 920b0352389be2f615494e6c2b1327b11bfd1dda)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/ssl_sock.c