From: Bertrand Jacquin Date: Sun, 13 Nov 2016 16:37:14 +0000 (+0000) Subject: BUG/MINOR: ssl: Print correct filename when error occurs reading OCSP X-Git-Tag: v1.7.0~90 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5424ee08dec5889892d3df3a7a692e1caa1d37a2;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/ssl_sock.c b/src/ssl_sock.c index ded1c240c1..cbc4f39995 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c @@ -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;