MINOR: ssl: Add "abort ssl ca-file" CLI command
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Thu, 11 Mar 2021 09:22:52 +0000 (10:22 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 17 May 2021 08:50:24 +0000 (10:50 +0200)
commitd5fd09d339dd3e86130428de142b5fc1808596ee
tree532304d06f241b0a0203ae5114658fbe2955e2d0
parent2db6101ed79f482301005220c65221902489c8ed
MINOR: ssl: Add "abort ssl ca-file" CLI command

The "abort" command aborts an ongoing transaction started by a "set ssl
ca-file" command. Since the updated CA file data is not pushed into the
cafile tree until a "commit ssl ca-file" call is performed, the abort
command simply clears the new cafile_entry that was stored in the
cafile_transaction.

This fixes a subpart of GitHub issue #1057.
reg-tests/ssl/set_ssl_cafile.vtc
src/ssl_ckch.c