commit | a37693f7d837ffb476dc6f3785505b6397d12624 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed May 04 20:12:55 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 06 18:13:36 2022 +0200 |
tree | c151aa2f303c29b7f9dcfc43d9396f831af5a1ab | |
parent | 329f4b4f2f6cf66a87a71f4412b16a09074ed0a8 [diff] |
CLEANUP: ssl/cli: use a local context for "set ssl cafile" Just like for "set ssl cert", the command doesn't really need this context which doesn't outlive the parsing function but it was there for a purpose so it's maintained. Only 3 fields were used from the appctx's ssl context: old_cafile_entry, new_cafile_entry, and path. These ones were reinstantiated into a new "set_cafile_ctx" struct. None of them could be dropped as they are still shared with other commands.