]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl: fix warning about ssl-min/max-ver support
authorLukas Tribus <lukas@ltri.eu>
Tue, 5 Mar 2019 22:14:32 +0000 (23:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 5 Mar 2019 22:56:58 +0000 (23:56 +0100)
commit1aabc939780d5eab1f88089d01fb077ad9315c65
treeecd9e9a7f43078025e138c070d4ea2328402cd1e
parent5799e9cd37301ab74436954e860250c3f26e4d79
BUG/MINOR: ssl: fix warning about ssl-min/max-ver support

In 84e417d8 ("MINOR: ssl: support Openssl 1.1.1 early callback for
switchctx") the code was extended to also support OpenSSL 1.1.1
(code already supported BoringSSL). A configuration check warning
was updated but with the wrong logic, the #ifdef needs a && instead
of an ||.

Reported in #54.

Should be backported to 1.8.
src/ssl_sock.c