CLEANUP: ssl: check if a transaction exists once before setting it
authorWilliam Dauchy <w.dauchy@criteo.com>
Sun, 24 Nov 2019 14:04:20 +0000 (15:04 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 25 Nov 2019 07:58:44 +0000 (08:58 +0100)
commitc8bb1539cb5f644295141c5219942ff02c279e8a
tree2044431dd3058243a127bca4e24a777fa1f5dd83
parentc0e820c352029eae558ec643764734d36a52c385
CLEANUP: ssl: check if a transaction exists once before setting it

trivial patch to fix issue #351

Fixes: bc6ca7ccaa72 ("MINOR: ssl/cli: rework 'set ssl cert' as 'set/commit'")
Reported-by: Илья Шипицин <chipitsine@gmail.com>
Signed-off-by: William Dauchy <w.dauchy@criteo.com>
src/ssl_sock.c