]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: ssl: initialize explicitly the sni_ctx trees
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 4 Oct 2019 09:44:57 +0000 (11:44 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 11 Oct 2019 15:32:02 +0000 (17:32 +0200)
include/proto/listener.h

index b245d6e128aa229941cdcbe43e8593a1541e8369..761bff107adde8b072dc4f494a8cc88c752dd35b 100644 (file)
@@ -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;