mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
BUG/MINOR: ssl: Print correct filename when error occurs reading OCSP
When Multi-Cert bundle are used, error is throwned regarding certificate filename without including certifcate type extension.
This commit is contained in:
parent
3342309572
commit
5424ee08de
@ -2169,7 +2169,7 @@ static int ssl_sock_load_multi_cert(const char *path, struct bind_conf *bind_con
|
||||
if (ssl_sock_load_ocsp(cur_ctx, cur_file) < 0) {
|
||||
if (err)
|
||||
memprintf(err, "%s '%s.ocsp' is present and activates OCSP but it is impossible to compute the OCSP certificate ID (maybe the issuer could not be found)'.\n",
|
||||
*err ? *err : "", path);
|
||||
*err ? *err : "", cur_file);
|
||||
SSL_CTX_free(cur_ctx);
|
||||
rv = 1;
|
||||
goto end;
|
||||
|
Loading…
x
Reference in New Issue
Block a user