BUG/MINOR: ssl: Display correct filename in error message

This patch should be backported to 1.5.
This commit is contained in:
Alexander Rigbo 2015-04-07 14:02:16 +02:00 committed by Willy Tarreau
parent 73b65acd46
commit fc65af0c61

View 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)) { 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", 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++; cfgerr++;
} }
else { else {