From 5424ee08dec5889892d3df3a7a692e1caa1d37a2 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Sun, 13 Nov 2016 16:37:14 +0000 Subject: [PATCH] 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. --- src/ssl_sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl_sock.c b/src/ssl_sock.c index ded1c24..cbc4f39 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; -- 1.7.10.4