mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +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 (ssl_sock_load_ocsp(cur_ctx, cur_file) < 0) {
|
||||||
if (err)
|
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",
|
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);
|
SSL_CTX_free(cur_ctx);
|
||||||
rv = 1;
|
rv = 1;
|
||||||
goto end;
|
goto end;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user