]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: sslsock: remove only occurrence of local variable "cs"
authorWilly Tarreau <w@1wt.eu>
Fri, 27 May 2022 08:44:39 +0000 (10:44 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 27 May 2022 17:33:35 +0000 (19:33 +0200)
commitb52d4d217fdcfc83ab90275609b94d077bd97a76
treeae7a71723f495687aa6027ac552cd9e653b6b992
parent0eca539dbd8dabd681da89bd2452a9d2e402d31a
CLEANUP: sslsock: remove only occurrence of local variable "cs"

In ssl_action_wait_for_hs() the local variables called "cs" is just a
copy of s->scf that's only used once, so it can be removed. In addition
the check was removed as well since it's not possible to have a NULL SC
on a stream.
src/ssl_sock.c