CLEANUP: ssl/cli: use a local context for "show ssl cert"
authorWilly Tarreau <w@1wt.eu>
Wed, 4 May 2022 17:51:37 +0000 (19:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 May 2022 16:13:36 +0000 (18:13 +0200)
commit96c9a6c752d9e521876471402650da13c765eba4
treefa394e5c0975335a910b2f0fd123178dabeb338e
parentf3e8b3e877d91bdc1d8436837bfe409908bfb656
CLEANUP: ssl/cli: use a local context for "show ssl cert"

This command only really uses old_ckchs, cur_ckchs and the index
in which the transaction was stored. The new structure "show_cert_ctx"
only has these 3 fields, and the now unused "cur_ckchs" and "index"
could be removed from the shared ssl context.
include/haproxy/applet-t.h
src/ssl_ckch.c