From 37dc94cde496e83e00af0580c1a7bfb06e98aafe Mon Sep 17 00:00:00 2001 From: Alexander Rigbo Date: Tue, 7 Apr 2015 14:02:16 +0200 Subject: [PATCH 10/12] BUG/MINOR: ssl: Display correct filename in error message This patch should be backported to 1.5. (cherry picked from commit fc65af0c6180d1682f6bf76cf804cd003541b3e9) --- 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 2614dd6..d0f4d01 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c @@ -1569,7 +1569,7 @@ int ssl_sock_prepare_ctx(struct bind_conf *bind_conf, SSL_CTX *ctx, struct proxy if (!store || !X509_STORE_load_locations(store, bind_conf->crl_file, NULL)) { Alert("Proxy '%s': unable to configure CRL file '%s' for bind '%s' at [%s:%d].\n", - curproxy->id, bind_conf->ca_file, bind_conf->arg, bind_conf->file, bind_conf->line); + curproxy->id, bind_conf->crl_file, bind_conf->arg, bind_conf->file, bind_conf->line); cfgerr++; } else { -- 2.1.4