]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: ssl: fix build of backend without ssl
authorWilly Tarreau <w@1wt.eu>
Wed, 8 Nov 2017 13:25:59 +0000 (14:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 8 Nov 2017 13:28:08 +0000 (14:28 +0100)
commit46c9d3e6cb47822b6372c6bb538a47ced8ad0141
treee0a8604a6b294032fe08bf2e1d783d47fdeb2c6f
parent522eea71106ad9486a3c01a0e5fd8b6d88a42693
BUILD: ssl: fix build of backend without ssl

Commit 522eea7 ("MINOR: ssl: Handle sending early data to server.") added
a dependency on SRV_SSL_O_EARLY_DATA which only exists when USE_OPENSSL
is defined (which is probably not the best solution) and breaks the build
when ssl is not enabled. Just add an ifdef USE_OPENSSL around the block
for now.
src/backend.c