mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-10-26 14:10:59 +01:00
BUG/MEDIUM: acme: cfg_postsection_acme() don't init correctly acme sections
The cfg_postsection_acme() redefines its own cur_acme variable, pointing to the first acme section created. Meaning that the first section would be init multiple times, and the next sections won't never be initialized. It could result in crashes at the first use of all sections that are not the first one. Must be backported in 3.2
This commit is contained in:
parent
406fd0ceb1
commit
a9ccf692e7
@ -616,7 +616,6 @@ error:
|
||||
/* Initialize stuff once the section is parsed */
|
||||
static int cfg_postsection_acme()
|
||||
{
|
||||
struct acme_cfg *cur_acme = acme_cfgs;
|
||||
struct ckch_store *store;
|
||||
EVP_PKEY *key = NULL;
|
||||
BIO *bio = NULL;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user