aboutsummaryrefslogtreecommitdiffstats
path: root/imap.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 /imap.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 'imap.c')
-rw-r--r--imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap.c b/imap.c
index 35b3bd07..7c33d8a4 100644
--- a/imap.c
+++ b/imap.c
@@ -484,7 +484,7 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting)
* (see below). */
if (gen_transact(sock, "STARTTLS") == PS_SUCCESS
&& SSLOpen(sock, ctl->sslcert, ctl->sslkey, "tls1", ctl->sslcertck,
- ctl->sslcertpath, ctl->sslfingerprint, commonname,
+ ctl->sslcertfile, ctl->sslcertpath, ctl->sslfingerprint, commonname,
ctl->server.pollname, &ctl->remotename) != -1)
{
/*