commit | 1b948ef42679afb0727eded271ca2f883f1ec638 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu May 05 13:50:46 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 06 18:13:35 2022 +0200 |
tree | 17b54d20319f4064db84f3693d7bc3758d9ed041 | |
parent | 4fd9b4ddf04bfddaa46dd720da91c7b025f963c4 [diff] |
CLEANUP: ssl/cli: do not loop on unknown states in "add ssl crt-list" handler The io_handler in "add ssl crt_list" is built around a "while" loop that only makes forward progress and that doesn't handle its final state as it's not supposed to be called again once reached. This makes the code confusing because its construct implies an infinite loop for such a state (or any other unhandled one). Let's just remove that unneeded loop.