MINOR: ssl: Remove unused variable "need_out".
authorOlivier Houchard <cognet@ci0.org>
Sun, 5 Jan 2020 15:45:14 +0000 (16:45 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 9 Jan 2020 16:40:55 +0000 (17:40 +0100)
commitfbe15b7184da09c0d71051bf3978540f63aba5cc
tree60d56b52a640a050c4c912c35890d5bed26f1f85
parent493c8d8d3c2f710d47b2bdd6a8ea582a84c1cf72
MINOR: ssl: Remove unused variable "need_out".

The "need_out" variable was used to let the ssl code know we're done
reading early data, and we should start the handshake.
Now that the handshake function is responsible for taking care of reading
early data, all that logic has been removed from ssl_sock_to_buf(), but
need_out was forgotten, and left. Remove it know.
This patch was submitted by William Dauchy <w.dauchy@criteo.com>, and should
fix github issue #434.
This should be backported to 2.0 and 2.1.

(cherry picked from commit 7f4f7f140f6b03b61d1b38260962db235c42c121)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/ssl_sock.c