From 6df85ae99176d1c45035d9d2c29c57e7c8392ca1 Mon Sep 17 00:00:00 2001
From: Alexander Rigbo <alexander.rigbo@blocket.se>
Date: Tue, 7 Apr 2015 14:02:16 +0200
Subject: [PATCH] BUG/MINOR: Display correct filename in error message

---
 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 77c4490..4eeb020 100644
--- a/src/ssl_sock.c
+++ b/src/ssl_sock.c
@@ -1770,7 +1770,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 {
-- 
1.9.5 (Apple Git-50.3)

