commit | 430413e2854a128df4e043e626eda83520b76762 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Mon Oct 28 14:30:47 2019 +0100 |
committer | William Lallemand <wlallemand@haproxy.org> | Mon Oct 28 14:57:37 2019 +0100 |
tree | 219b57effe098c8682e2751acba2b7de5840ffda | |
parent | 1212db417b198820ab14c754dc847a46a48698a0 [diff] |
MINOR: ssl/cli: rework the 'set ssl cert' IO handler Rework the 'set ssl cert' IO handler so it is clearer. Use its own SETCERT_ST_* states insted of the STAT_ST ones. Use an inner loop in SETCERT_ST_GEN and SETCERT_ST_INSERT to do the work for both the certificate and the bundle. The io_release() is now called only when the CKCH spinlock is taken so we can unlock during a release without any condition.