summaryrefslogtreecommitdiff
path: root/imap/src
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2019-04-28 16:01:14 -0600
committerEduardo Chappa <chappa@washington.edu>2019-04-28 16:01:14 -0600
commit19cde66486e27063a9af8cfd79c6eb7f106b9111 (patch)
treefb4030770107efa52e0be46a6bbc755fbd590229 /imap/src
parent3443fe5fcfcb33d3a2510111855e619632de57df (diff)
downloadalpine-19cde66486e27063a9af8cfd79c6eb7f106b9111.tar.xz
* Compilation failure in Solaris when ldap is enabled. Reported by
"mechanic" in comp.mail.pine. * Configure script modifications to set the ldap-dir value correctly. * Fix some typos in documentation.
Diffstat (limited to 'imap/src')
-rw-r--r--imap/src/osdep/unix/ssl_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/imap/src/osdep/unix/ssl_unix.c b/imap/src/osdep/unix/ssl_unix.c
index 05eabce3..53c5d05a 100644
--- a/imap/src/osdep/unix/ssl_unix.c
+++ b/imap/src/osdep/unix/ssl_unix.c
@@ -230,9 +230,9 @@ const SSL_METHOD *ssl_connect_mthd(int flag, int *min, int *max)
#ifdef TLS1_3_VERSION
: (flag & NET_TRYTLS1_3) ? TLS1_3_VERSION
#else
- : (flag & NET_TRYTLS1_3) ? INT_MAX
+ : (flag & NET_TRYTLS1_3) ? -2
#endif
- : 0L;
+ : 0;
*min = *(int *) mail_parameters(NULL, GET_ENCRYPTION_RANGE_MIN, NULL);
*max = *(int *) mail_parameters(NULL, GET_ENCRYPTION_RANGE_MAX, NULL);