From c5a58c018e5a8207bd39a63aedcd8ef206c9d8ab Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 14 May 2001 06:54:37 +0000 Subject: SSL certification handling. svn path=/trunk/; revision=3314 --- driver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index 11338f77..42dcac8f 100644 --- a/driver.c +++ b/driver.c @@ -1766,7 +1766,8 @@ const int maxfetch; /* maximum number of messages to fetch */ /* perform initial SSL handshake on open connection */ /* Note: We pass the realhost name over for certificate verification. We may want to make this configurable */ - if (ctl->use_ssl && SSLOpen(mailserver_socket,ctl->sslkey,ctl->sslcert,ctl->sslproto,realhost) == -1) + if (ctl->use_ssl && SSLOpen(mailserver_socket,ctl->sslkey,ctl->sslcert,ctl->sslproto,ctl->sslcertck, + ctl->sslcertpath,ctl->sslfingerprint,realhost,ctl->server.pollname) == -1) { report(stderr, _("SSL connection failed.\n")); goto closeUp; -- cgit v1.2.3