diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2010-04-18 20:22:27 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2010-04-18 20:22:27 +0200 |
commit | 497ba428052f1437187778ceb2293c8eaba5893f (patch) | |
tree | 353f899ae268adf5af1b878207bc72118128dcd8 /driver.c | |
parent | 6da324a5e02587c48cd527522d92a72b66b3b42e (diff) | |
download | fetchmail-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |