]> git.kaiwu.me - haproxy.git/commit
CLEANUP: ssl: move tlskeys_finalize_config() to a post_check callback
authorWilly Tarreau <w@1wt.eu>
Thu, 22 Dec 2016 21:46:15 +0000 (22:46 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Dec 2016 22:26:38 +0000 (23:26 +0100)
commitd1c5750370255e25774cbd672f00b50c4652156e
treecd3c811458a63022122caa53a7576007b8397190
parent17d4538044fc37b9b4cccdc21543b183d5b69a0b
CLEANUP: ssl: move tlskeys_finalize_config() to a post_check callback

tlskeys_finalize_config() was the only reason for haproxy.c to still
require ifdef and includes for ssl_sock. This one fits perfectly well
in the late initializers so it was changed to be registered with
hap_register_post_check().
include/proto/ssl_sock.h
src/haproxy.c
src/ssl_sock.c