]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD/MINOR: ssl: fix build with non-alpn/non-npn libssl
authorLukas Tribus <lukas@ltri.eu>
Sun, 25 Nov 2018 12:21:27 +0000 (13:21 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 26 Nov 2018 07:34:40 +0000 (08:34 +0100)
commitda95fd901b0cfe9c8060d12344944cc69781c5b2
tree1cc2e3bab17a5c8bd8845e0a6c64130e2da292c5
parent0b936ad946719652affa17f9d79403cd2e0c3faf
BUILD/MINOR: ssl: fix build with non-alpn/non-npn libssl

In commit c7566001 ("MINOR: server: Add "alpn" and "npn" keywords") and
commit 201b9f4e ("MAJOR: connections: Defer mux creation for outgoing
connection if alpn is set"), the build was broken on older OpenSSL
releases.

Move the #ifdef's around so that we build again with older OpenSSL
releases (0.9.8 was tested).
src/backend.c
src/ssl_sock.c