diff --git a/include/haproxy/ssl_ckch.h b/include/haproxy/ssl_ckch.h index 1faa6c14c..72fc80587 100644 --- a/include/haproxy/ssl_ckch.h +++ b/include/haproxy/ssl_ckch.h @@ -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 diff --git a/src/ssl_ckch.c b/src/ssl_ckch.c index b6f1a7c80..28f0642a2 100644 --- a/src/ssl_ckch.c +++ b/src/ssl_ckch.c @@ -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)