BUILD: ssl: Fix build with OpenSSL without NPN capability
authorBernard Spil <brnrd@FreeBSD.org>
Thu, 15 Feb 2018 12:34:58 +0000 (13:34 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 Mar 2018 11:43:15 +0000 (12:43 +0100)
commit13c53f8cc2a4d18eed8ad086465fbf668901e63d
tree8ae1664eb5d3d5be8037da67c87a4920a0a85725
parent6a61e968ac43345ecc7d53b1ccaea77fdb5ad042
BUILD: ssl: Fix build with OpenSSL without NPN capability

OpenSSL can be built without NEXTPROTONEG support by passing
-no-npn to the configure script. This sets the
OPENSSL_NO_NEXTPROTONEG flag in opensslconf.h

Since NEXTPROTONEG is now considered deprecated, it is superseeded
by ALPN (Application Layer Protocol Next), HAProxy should allow
building withough NPN support.
src/ssl_sock.c