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/nntp.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/nntp.c')
-rw-r--r-- | imap/src/c-client/nntp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/imap/src/c-client/nntp.c b/imap/src/c-client/nntp.c index fe90edba..8a9d00a8 100644 --- a/imap/src/c-client/nntp.c +++ b/imap/src/c-client/nntp.c @@ -1719,8 +1719,7 @@ SENDSTREAM *nntp_open_full (NETDRIVER *dv,char **hostlist,char *service, /* negotiate TLS */ if (stream->netstream->stream = (*stls) (stream->netstream->stream,mb.host, - (mb.tlssslv23 ? NIL : NET_TLSCLIENT) | - (mb.novalidate ? NET_NOVALIDATECERT:NIL))) + SSL_METHOD(mb) | (mb.novalidate ? NET_NOVALIDATECERT:NIL))) extok = nntp_extensions (stream,(mb.secflag ? AU_SECURE : NIL) | (mb.authuser[0] ? AU_AUTHUSER : NIL)); else { |