File 0008-BUG-MINOR-ssl-Display-correct-filename-in-error-mess.patch of Package haproxy.748

From 0668771ac51bdb915daf2ff2245fea3486d86c17 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 08/13] 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
openSUSE Build Service is sponsored by