diff options
author | Eduardo Chappa <chappa@washington.edu> | 2013-09-21 18:45:27 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2013-09-21 18:45:27 -0600 |
commit | c5bb25b1320af6cda4cc62ea9e15fbb03ee92026 (patch) | |
tree | 7edbf4ad7c92cac182112201293da92dff56d7bf /imap/src/c-client/pop3.c | |
parent | 48e1f5018f9d324c1ebce3ea627db50fe03a2134 (diff) | |
download | alpine-c5bb25b1320af6cda4cc62ea9e15fbb03ee92026.tar.xz |
* Version 2.11.6
* Add /tls1, /tls1_1, /tls1_2 and /dtls1 to the definition of a
server to use different ways to connect using ssl, for example
{server.com/tls1} will attempt to connect to server.com at the ssl
imap port (port 993) and establish a connection using TLSv1. These
flags can be used in conjunction with the /ssl flag, the ssl flag is
redundant. Conversely, however, the /ssl flag does not imply any of
these flags; the /ssl flag means SSLv3 or, if not available, SSLv2 in
the SSL port.
* WebAlpine: add _GNU_SOURCE to make pubcookie build.
* On my way to make 'make dist' and 'make distcheck' actually work.
Diffstat (limited to 'imap/src/c-client/pop3.c')
-rw-r--r-- | imap/src/c-client/pop3.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/imap/src/c-client/pop3.c b/imap/src/c-client/pop3.c index 58a9ceb6..5065fed2 100644 --- a/imap/src/c-client/pop3.c +++ b/imap/src/c-client/pop3.c @@ -567,8 +567,7 @@ long pop3_auth (MAILSTREAM *stream,NETMBX *mb,char *pwd,char *usr) LOCAL->netstream->dtb = ssld; if (!(LOCAL->netstream->stream = (*stls) (LOCAL->netstream->stream,mb->host, - (mb->tlssslv23 ? NIL : NET_TLSCLIENT) | - (mb->novalidate ? NET_NOVALIDATECERT : NIL)))) { + SSL_METHOD(*mb) | (mb->novalidate ? NET_NOVALIDATECERT : NIL)))) { /* drat, drop this connection */ if (LOCAL->netstream) net_close (LOCAL->netstream); LOCAL->netstream= NIL; |