From: Sebastian Harl Date: Fri, 30 Jan 2015 10:27:16 +0000 (+0100) Subject: SSL utils: Include the relevant filename in all error messages. X-Git-Tag: sysdb-0.7.0~35 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6dc15ce01c57de96ea3acf1ae340b8d69b32209a;p=sysdb.git SSL utils: Include the relevant filename in all error messages. --- diff --git a/src/utils/ssl.c b/src/utils/ssl.c index f75223c..d9ad060 100644 --- a/src/utils/ssl.c +++ b/src/utils/ssl.c @@ -191,7 +191,8 @@ sdb_ssl_client_create(sdb_ssl_options_t *opts) if (! SSL_CTX_load_verify_locations(client->ctx, client->opts.ca_file, NULL)) { - ssl_log(SDB_LOG_ERR, "ssl: Failed to load CA file"); + ssl_log(SDB_LOG_ERR, "ssl: Failed to load CA file '%s'", + client->opts.ca_file); sdb_ssl_client_destroy(client); return NULL; }