]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: server: move the use_ssl field out of the ifdef USE_OPENSSL
authorWilly Tarreau <w@1wt.eu>
Thu, 22 Dec 2016 17:38:00 +0000 (18:38 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Dec 2016 22:26:38 +0000 (23:26 +0100)
commit141ad85d107dba3c511005a7d80350bcc8bd9995
treeb4cf14f3d4bc73d8428d2d8915f14c6fccb7da3f
parent795cdabb570f8829f306b13b773f204915b70d62
MINOR: server: move the use_ssl field out of the ifdef USE_OPENSSL

Having it in the ifdef complicates certain operations which require
additional ifdefs just to access a member which could remain zero in
non-ssl cases. Let's move it out, it will not even increase the
struct size on 64-bit machines due to alignment.
include/types/server.h
src/checks.c
src/server.c