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:
Bertrand Jacquin 2016-11-13 16:37:14 +00:00 committed by Willy Tarreau
parent 3342309572
commit 5424ee08de

View File

@ -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;