diff --git a/src/ssl_sock.c b/src/ssl_sock.c index b14bb8a46..ded1c240c 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c @@ -2137,6 +2137,7 @@ static int ssl_sock_load_multi_cert(const char *path, struct bind_conf *bind_con node = ebmb_first(&sni_keytypes_map); while (node) { SSL_CTX *cur_ctx; + char cur_file[MAXPATHLEN+1]; str = (char *)container_of(node, struct sni_keytype, name)->name.key; i = container_of(node, struct sni_keytype, name)->keytypes; @@ -2156,8 +2157,8 @@ static int ssl_sock_load_multi_cert(const char *path, struct bind_conf *bind_con for (n = 0; n < SSL_SOCK_NUM_KEYTYPES; n++) { if (i & (1<