mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-28 04:12:17 -04:00
BUG/MINOR: ssl/crt-list: load bundle in crt-list only if activated
Don't try to load a bundle from a crt-list if the bundle support was disabled with ssl-load-extra-files. Must be backported to 2.3.
This commit is contained in:
parent
06ce84a100
commit
7340457158
1 changed files with 1 additions and 1 deletions
|
|
@ -550,7 +550,7 @@ int crtlist_parse_file(char *file, struct bind_conf *bind_conf, struct proxy *cu
|
|||
LIST_ADDQ(&newlist->ord_entries, &entry->by_crtlist);
|
||||
LIST_ADDQ(&ckchs->crtlist_entry, &entry->by_ckch_store);
|
||||
|
||||
} else {
|
||||
} else if (global_ssl.extra_files & SSL_GF_BUNDLE) {
|
||||
/* If we didn't find the file, this could be a
|
||||
bundle, since 2.3 we don't support multiple
|
||||
certificate in the same OpenSSL store, so we
|
||||
|
|
|
|||
Loading…
Reference in a new issue