summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-10-22 17:11:50 -0600
committerEduardo Chappa <chappa@washington.edu>2021-10-22 17:11:50 -0600
commit37fc53a99bbd21aa255c8e104aa7e1827e8975e2 (patch)
tree6e6d6141f969c47647aefe7735443eb31d329cfd
parentc3cfdbf77188f1a63888dc4c92c60a6f6259d91b (diff)
downloadalpine-37fc53a99bbd21aa255c8e104aa7e1827e8975e2.tar.xz
* Fix the type of some flags for openssl from int to long.
-rw-r--r--imap/src/osdep/unix/ssl_unix.c8
-rw-r--r--pith/pine.hlp2
2 files changed, 5 insertions, 5 deletions
diff --git a/imap/src/osdep/unix/ssl_unix.c b/imap/src/osdep/unix/ssl_unix.c
index eb26ec07..e9243769 100644
--- a/imap/src/osdep/unix/ssl_unix.c
+++ b/imap/src/osdep/unix/ssl_unix.c
@@ -74,7 +74,7 @@ typedef struct ssl_stream {
#include "sslio.h"
/* Function prototypes */
-int ssl_disable_mask(int ssl_version, int direction);
+long ssl_disable_mask(int ssl_version, int direction);
const SSL_METHOD *ssl_connect_mthd(int flag, int *minv, int *maxv);
static SSLSTREAM *ssl_start(TCPSTREAM *tstream,char *host,unsigned long flags);
static char *ssl_start_work (SSLSTREAM *stream,char *host,unsigned long flags);
@@ -213,7 +213,7 @@ SSLSTREAM *ssl_aopen (NETMBX *mb,char *service,char *usrbuf)
typedef struct ssl_disable_s {
int version;
- int disable_code;
+ long disable_code;
} SSL_DISABLE_S;
SSL_DISABLE_S ssl_disable[] = {
@@ -237,7 +237,7 @@ SSL_DISABLE_S ssl_disable[] = {
* If direction is -1, returns mask to disable versions less than given version.
* If direction is +1, returns mask to disable versions bigger than given version.
*/
-int ssl_disable_mask(int ssl_version, int direction)
+long ssl_disable_mask(int ssl_version, int direction)
{
int rv = 0;
int i;
@@ -393,7 +393,7 @@ static char *ssl_start_work (SSLSTREAM *stream,char *host,unsigned long flags)
X509 *cert;
unsigned long sl,tl;
int minv, maxv;
- int masklow, maskhigh;
+ long masklow, maskhigh;
char *s,*t,*err,tmp[MAILTMPLEN], buf[256];
char *CAfile, *CApath, *ciphers;
sslcertificatequery_t scq =
diff --git a/pith/pine.hlp b/pith/pine.hlp
index 696722c5..ca3580c0 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 604 2021-10-17 11:16:37
+Alpine Commit 605 2021-10-22 17:11:47
============= h_news =================
<HTML>
<HEAD>