commit | ddc8e1cf8b2355eef44ea51956366b0c682343b8 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Jun 03 09:00:09 2022 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Jun 03 09:21:47 2022 +0200 |
tree | 0fc2cc8f35886b27410071e53f868b39c82ea933 | |
parent | 14df913400f72d2b863ae2d684ee420b6476fbfe [diff] |
MINOR: ssl_ckch: Simplify I/O handler to commit changes on CA/CRL entry Simplify cli_io_handler_commit_cafile_crlfile() handler function by retrieving old and new entries at the beginning. In addition the path is also retrieved at this stage. This removes several switch statements. Note that the ctx was already validated by the corresponding parsing function. Thus there is no reason to test the pointers. While it is not a bug, this patch may help to fix issue #1731.