]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: ssl-sock: drop two now unneeded ALREADY_CHECKED()
authorWilly Tarreau <w@1wt.eu>
Tue, 17 Dec 2024 14:02:39 +0000 (15:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 17 Dec 2024 16:47:57 +0000 (17:47 +0100)
commit93d4e9d50fa1269e94d8a1572b6746b3c26e78e0
tree4d7429ee743e9c6678b9af63a3de714dda4fe442
parent7760e3a374d9eb1a4adae8209c07517252b6a4c4
CLEANUP: ssl-sock: drop two now unneeded ALREADY_CHECKED()

In ssl_sock_bind_verifycbk() a BUG_ON() checks the validity of "ctx" and
"bind_conf". There was a pair of ALREADY_CHECKED() macros after BUG_ON()
for the case where DEBUG_STRICT=0. But this is now addressed so we can
remove these two macros and rely on the BUG_ON() instead.
src/ssl_sock.c