BUG/MINOR: ssl/cli: lock the ckch structures during crt-list delete
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 8 Apr 2020 08:30:44 +0000 (10:30 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 8 Apr 2020 08:39:38 +0000 (10:39 +0200)
commit463b5242985f01d0d162b6eb74c9ca0da728f3e1
treedb081dcb240425fa405cf63c41d34ab881a75ec9
parent6e18f92d4f629eaef50bc9f60a62ac71fa671888
BUG/MINOR: ssl/cli: lock the ckch structures during crt-list delete

The cli_parse_del_crtlist() does unlock the ckch big lock, but it does
not lock it at the beginning of the function which is dangerous.
As a side effect it let the structures locked once it called the unlock.

This bug was introduced by 0a9b941 ("MINOR: ssl/cli: 'del ssl crt-list'
delete an entry")
src/ssl_sock.c