MINOR: ssl: Export 'current_crtstore_name'

Make the 'current_crtstore_name' global variable visible during parsing.
This commit is contained in:
Remi Tricot-Le Breton 2026-05-06 14:16:38 +02:00 committed by William Lallemand
parent 1614204d28
commit acf1331ed8
2 changed files with 2 additions and 1 deletions

View File

@ -84,6 +84,7 @@ const char *ha_default_cert_dir();
extern struct cert_exts cert_exts[];
extern int (*ssl_commit_crlfile_cb)(const char *path, X509_STORE *ctx, char **err);
extern char current_crtstore_name[];
/*
* ckch_conf keywords loading

View File

@ -5307,7 +5307,7 @@ void ckch_conf_clean(struct ckch_conf *conf)
}
static char current_crtstore_name[PATH_MAX] = {};
char current_crtstore_name[PATH_MAX] = {};
static int crtstore_parse_load(char **args, int section_type, struct proxy *curpx, const struct proxy *defpx,
const char *file, int linenum, char **err)