mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-06 23:32:34 -04:00
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.
This commit is contained in:
parent
7760e3a374
commit
93d4e9d50f
1 changed files with 0 additions and 2 deletions
|
|
@ -1471,8 +1471,6 @@ int ssl_sock_bind_verifycbk(int ok, X509_STORE_CTX *x_store)
|
|||
#endif
|
||||
|
||||
BUG_ON(!ctx || !bind_conf);
|
||||
ALREADY_CHECKED(ctx);
|
||||
ALREADY_CHECKED(bind_conf);
|
||||
|
||||
ctx->xprt_st |= SSL_SOCK_ST_FL_VERIFY_DONE;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue