mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
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:
parent
f6adbe9f28
commit
4b989f2fac
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user