]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: ssl_sock: implement ssl_sock_prepare_bind_conf()
authorWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2016 22:38:39 +0000 (23:38 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Dec 2016 22:26:38 +0000 (23:26 +0100)
commit55d3791b4633de3942f4b63b89937a8ec97dc2d4
tree980adf48d69ad75edc373ef557c00fd73e208c7c
parent5aacf78a346f2498bccb46c7eb36d53ed1c64a8d
MEDIUM: ssl_sock: implement ssl_sock_prepare_bind_conf()

Instead of hard-coding all SSL preparation in cfgparse.c, we now register
this new function as the transport layer's prepare_bind_conf() and call it
only when definied. This removes some non-obvious SSL-specific code from
cfgparse.c as well as a #ifdef.
include/proto/ssl_sock.h
src/cfgparse.c
src/ssl_sock.c