aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2021-01-30 14:15:10 +0100
committerMatthias Andree <matthias.andree@gmx.de>2021-01-30 14:20:45 +0100
commita00157c59640cbc341e0d4110d4e853c3da20908 (patch)
treebeb3369c26b554eda37693bbab449d39b582a9de /fetchmail.c
parent1df193714c62e6b12f1b8f1dab10fd23b6d06e51 (diff)
downloadfetchmail-a00157c59640cbc341e0d4110d4e853c3da20908.tar.gz
fetchmail-a00157c59640cbc341e0d4110d4e853c3da20908.tar.bz2
fetchmail-a00157c59640cbc341e0d4110d4e853c3da20908.zip
--version: print default cert paths, and document SSL_CERT_* in manpage
When Gene Heskett was updating his OpenSSL on Debian oldstable, we figured that it might be helpful to print where OpenSSL goes look for the trusted certificate. Add this information. Also add documentation of OpenSSL's SSL_CERT_DIR/SSL_CERT_FILE environment variables.
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 907a8bcb..e6ceb71a 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -1769,8 +1769,10 @@ static void dump_params (struct runctl *runp,
} else {
printf(GT_(" SSL server certificate checking disabled.\n"));
}
+ printf(GT_(" SSL default trusted certificate file: %s\n"), get_default_cert_file());
if (ctl->sslcertfile != NULL)
printf(GT_(" SSL trusted certificate file: %s\n"), ctl->sslcertfile);
+ printf(GT_(" SSL default trusted certificate directory: %s\n"), get_default_cert_path());
if (ctl->sslcertpath != NULL)
printf(GT_(" SSL trusted certificate directory: %s\n"), ctl->sslcertpath);
if (ctl->sslcommonname != NULL)