From: William Lallemand Date: Fri, 4 Oct 2019 16:36:55 +0000 (+0200) Subject: MINOR: ssl: initialize the sni_keytypes_map as EB_ROOT X-Git-Tag: v2.1-dev3~99 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4b989f2facde1c27a4b6a96897e2ded80026615b;p=thirdparty%2Fhaproxy.git MINOR: ssl: initialize the sni_keytypes_map as EB_ROOT The sni_keytypes_map was initialized to {0}, it's better to initialize it explicitly to EB_ROOT --- diff --git a/src/ssl_sock.c b/src/ssl_sock.c index 9f6d2b6c85..2256385c81 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c @@ -3178,7 +3178,7 @@ static int ssl_sock_load_multi_ckchs(const char *path, struct ckch_store *ckchs, { int i = 0, n = 0; struct cert_key_and_chain *certs_and_keys; - struct eb_root sni_keytypes_map = { {0} }; + struct eb_root sni_keytypes_map = EB_ROOT; struct ebmb_node *node; struct ebmb_node *next; /* Array of SSL_CTX pointers corresponding to each possible combo