CLEANUP: ssl/cli: use a local context for "show cafile"
authorWilly Tarreau <w@1wt.eu>
Wed, 4 May 2022 17:26:59 +0000 (19:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 May 2022 16:13:35 +0000 (18:13 +0200)
commit50c2f1e0cde8b1d62bb57289e6112b9e77ca0dc5
tree070488851c17341fab7804da784bd596386b2f88
parentbcda5f6bcda25ccfee85d9abae7b810ba87f94db
CLEANUP: ssl/cli: use a local context for "show cafile"

Saying that the layout and usage of the various variables in the ssl
applet context is a mess would be an understatement. It's very hard
to know what command uses what fields, even after having moved away
from the mix of cli and ssl.

Let's extract the parts used by "show cafile" into their own structure.
Only the "show_all" field would be removed from the ssl ctx, the other
fields are still shared with other commands.
include/haproxy/applet-t.h
src/ssl_ckch.c