]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: ssl: Display correct filename in error message
authorAlexander Rigbo <alexander.rigbo@blocket.se>
Tue, 7 Apr 2015 12:02:16 +0000 (14:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 11 Apr 2015 08:28:59 +0000 (10:28 +0200)
This patch should be backported to 1.5.

src/ssl_sock.c

index 42a71c99d08b4e222bf8057a6b557b63a0b37688..eb1d88c204406974b91fa9afff02e7b1709ef425 100644 (file)
@@ -1771,7 +1771,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 {