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
This commit is contained in:
William Lallemand 2019-10-04 18:36:55 +02:00 committed by William Lallemand
parent f6adbe9f28
commit 4b989f2fac

View File

@ -3178,7 +3178,7 @@ static int ssl_sock_load_multi_ckchs(const char *path, struct ckch_store *ckchs,
{ {
int i = 0, n = 0; int i = 0, n = 0;
struct cert_key_and_chain *certs_and_keys; 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 *node;
struct ebmb_node *next; struct ebmb_node *next;
/* Array of SSL_CTX pointers corresponding to each possible combo /* Array of SSL_CTX pointers corresponding to each possible combo