aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-04-18 20:22:27 +0200
committerMatthias Andree <matthias.andree@gmx.de>2010-04-18 20:22:27 +0200
commit497ba428052f1437187778ceb2293c8eaba5893f (patch)
tree353f899ae268adf5af1b878207bc72118128dcd8 /driver.c
parent6da324a5e02587c48cd527522d92a72b66b3b42e (diff)
downloadfetchmail-497ba428052f1437187778ceb2293c8eaba5893f.tar.gz
fetchmail-497ba428052f1437187778ceb2293c8eaba5893f.tar.bz2
fetchmail-497ba428052f1437187778ceb2293c8eaba5893f.zip
Add --sslcertfile option and FETCHMAIL_NO_DEFAULT_X509_PATHS env var,
and always load the default X.509 trust stores, unless the latter is set.
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index 32cfffb1..68a388d1 100644
--- a/driver.c
+++ b/driver.c
@@ -1109,7 +1109,8 @@ static int do_session(
/* perform initial SSL handshake on open connection */
if (ctl->use_ssl &&
SSLOpen(mailserver_socket, ctl->sslcert, ctl->sslkey,
- ctl->sslproto, ctl->sslcertck, ctl->sslcertpath,
+ ctl->sslproto, ctl->sslcertck,
+ ctl->sslcertfile, ctl->sslcertpath,
ctl->sslfingerprint, ctl->sslcommonname ?
ctl->sslcommonname : realhost, ctl->server.pollname,
&ctl->remotename) == -1)