From 222a7c6ae0362cd22c6c8917368ff9801d2f880a Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Fri, 4 Oct 2019 11:44:57 +0200 Subject: [PATCH] MINOR: ssl: initialize explicitly the sni_ctx trees --- include/proto/listener.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/proto/listener.h b/include/proto/listener.h index b245d6e128..761bff107a 100644 --- a/include/proto/listener.h +++ b/include/proto/listener.h @@ -157,6 +157,8 @@ static inline struct bind_conf *bind_conf_alloc(struct proxy *fe, const char *fi bind_conf->xprt = xprt; bind_conf->frontend = fe; bind_conf->severity_output = CLI_SEVERITY_NONE; + bind_conf->sni_ctx = EB_ROOT; + bind_conf->sni_w_ctx = EB_ROOT; LIST_INIT(&bind_conf->listeners); return bind_conf; -- 2.39.5